File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff 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)
Original file line number Diff line number Diff line change 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.
You can’t perform that action at this time.
0 commit comments