Skip to content

Commit c91fad4

Browse files
authored
Apply suggestions from code review
Co-authored-by: sobolevn <mail@sobolevn.me>
1 parent 375a717 commit c91fad4

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

Doc/library/tempfile.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff 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

Doc/whatsnew/3.16.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)