mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
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:
parent
e9dab65638
commit
c9c6e04380
4 changed files with 18 additions and 19 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue