Correct description of inheriting from another class (#114660)

"inherits <someclass>" grates to this reader. I think it should be "inherits from <someclass>".
This commit is contained in:
Skip Montanaro 2024-02-01 12:07:16 -06:00 committed by GitHub
parent e9dab65638
commit c9c6e04380
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 18 additions and 19 deletions

View file

@ -61,7 +61,7 @@ The module defines the following items:
.. exception:: BadGzipFile
An exception raised for invalid gzip files. It inherits :exc:`OSError`.
An exception raised for invalid gzip files. It inherits from :exc:`OSError`.
:exc:`EOFError` and :exc:`zlib.error` can also be raised for invalid gzip
files.
@ -287,4 +287,3 @@ Command line options
.. option:: -h, --help
Show the help message.