summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/bz2.rst2
-rw-r--r--Doc/library/gzip.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/bz2.rst b/Doc/library/bz2.rst
index 4808b47..ee79edc 100644
--- a/Doc/library/bz2.rst
+++ b/Doc/library/bz2.rst
@@ -60,7 +60,7 @@ Handling of compressed files is offered by the :class:`BZ2File` class.
:class:`BZ2File` supports the :keyword:`with` statement.
- .. versionchanged:: 2.7
+ .. versionchanged:: 3.1
Support for the :keyword:`with` statement was added.
diff --git a/Doc/library/gzip.rst b/Doc/library/gzip.rst
index c76bae8..818de6a 100644
--- a/Doc/library/gzip.rst
+++ b/Doc/library/gzip.rst
@@ -69,7 +69,7 @@ The module defines the following items:
:class:`GzipFile` supports the :keyword:`with` statement.
- .. versionchanged:: 2.7
+ .. versionchanged:: 3.1
Support for the :keyword:`with` statement was added.