summaryrefslogtreecommitdiffstats
path: root/Doc/library/gzip.rst
diff options
context:
space:
mode:
authorSkip Montanaro <skip.montanaro@gmail.com>2024-02-01 18:07:16 (GMT)
committerGitHub <noreply@github.com>2024-02-01 18:07:16 (GMT)
commitc9c6e04380ffedd25ea2e582f9057ab9612960c9 (patch)
treeefc665b6f8929cc754ba6b7c185f86ccc2478554 /Doc/library/gzip.rst
parente9dab656380ec03d628979975646748330b76b9b (diff)
downloadcpython-c9c6e04380ffedd25ea2e582f9057ab9612960c9.zip
cpython-c9c6e04380ffedd25ea2e582f9057ab9612960c9.tar.gz
cpython-c9c6e04380ffedd25ea2e582f9057ab9612960c9.tar.bz2
Correct description of inheriting from another class (#114660)
"inherits <someclass>" grates to this reader. I think it should be "inherits from <someclass>".
Diffstat (limited to 'Doc/library/gzip.rst')
-rw-r--r--Doc/library/gzip.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/library/gzip.rst b/Doc/library/gzip.rst
index 50cde09..79be215 100644
--- a/Doc/library/gzip.rst
+++ b/Doc/library/gzip.rst
@@ -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.
-