Skip to content

Commit e12f021

Browse files
committed
Addressed general triage comments
1 parent 85f8fa4 commit e12f021

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Doc/library/gzip.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ The module defines the following items:
105105
If *mtime* is omitted or ``None``, the current time is used. Use *mtime* = 0
106106
to generate a compressed stream that does not depend on creation time.
107107

108-
.. versionchanged:: 3.14
109-
The ``mtime`` parameter can now be a :class:`~datetime.datetime` object as well
108+
.. versionchanged:: next
109+
The *mtime* parameter can now be a :class:`~datetime.datetime` object as well
110110
as a :class:`float`.
111111

112112
See below for the :attr:`mtime` attribute that is set when decompressing.
@@ -213,8 +213,8 @@ The module defines the following items:
213213
For the previous behaviour of using the current time,
214214
pass ``None`` to *mtime*.
215215

216-
.. versionchanged:: 3.14
217-
The ``mtime`` parameter can now be a :class:`~datetime.datetime` object as well
216+
.. versionchanged:: next
217+
The *mtime* parameter can now be a :class:`~datetime.datetime` object as well
218218
as a :class:`float`.
219219

220220
.. function:: decompress(data)
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
Allow the mtime parameters in gzip.compress and gzip.GzipFile to be datetime
2-
objects.
1+
Allow the *mtime* parameters in :func:`gzip.compress` and :class:`gzip.GzipFile` to be :class:`datetime.datetime` objects.

0 commit comments

Comments
 (0)