File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -161,10 +161,6 @@ The module defines the following user-callable items:
161161 *delete * and *delete_on_close * arguments passed to
162162 :func: `NamedTemporaryFile `.
163163
164- .. deprecated :: next
165- ``tempfile._TemporaryFileWrapper `` is kept as a deprecated alias
166- for this class and will be removed in Python 3.21.
167-
168164 .. note ::
169165
170166 ``tempfile._TemporaryFileWrapper `` is kept as a backwards compatible
Original file line number Diff line number Diff line change @@ -559,10 +559,10 @@ New deprecations
559559
560560* :mod: `tempfile `
561561
562- * The private ``tempfile._TemporaryFileWrapper `` name is deprecated.
562+ * The private ``tempfile._TemporaryFileWrapper `` name is deprecated
563+ and is slated for removal in Python 3.21.
563564 Use the new public :class: `tempfile.TemporaryFileWrapper ` instead,
564565 which is the return type of :func: `tempfile.NamedTemporaryFile `.
565- It is slated for removal in Python 3.21.
566566
567567.. Add deprecations above alphabetically, not here at the end.
568568
You can’t perform that action at this time.
0 commit comments