diff options
author | Brett Cannon <brett@python.org> | 2015-10-16 19:09:56 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2015-10-16 19:09:56 (GMT) |
commit | aa15ea4b4e15a5350c34fe1ef0b8761d92fd4688 (patch) | |
tree | 6ef761e6a1c5cf8917891b988969d7749b55dd44 | |
parent | 83356f7a3f4c9e940b2f0ebf335618d1f0ba8781 (diff) | |
parent | 5ad5a7d31f5328c73df523b6ade330d88573717e (diff) | |
download | cpython-aa15ea4b4e15a5350c34fe1ef0b8761d92fd4688.zip cpython-aa15ea4b4e15a5350c34fe1ef0b8761d92fd4688.tar.gz cpython-aa15ea4b4e15a5350c34fe1ef0b8761d92fd4688.tar.bz2 |
Merge for issue #25407
-rw-r--r-- | Doc/library/formatter.rst | 5 | ||||
-rw-r--r-- | Lib/formatter.py | 4 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
3 files changed, 7 insertions, 5 deletions
diff --git a/Doc/library/formatter.rst b/Doc/library/formatter.rst index a515f74..8e8e201 100644 --- a/Doc/library/formatter.rst +++ b/Doc/library/formatter.rst @@ -5,9 +5,8 @@ :synopsis: Generic output formatter and device interface. :deprecated: -.. deprecated-removed:: 3.4 3.6 - Due to lack of usage, the formatter module has been deprecated and is slated - for removal in Python 3.6. +.. deprecated:: 3.4 + Due to lack of usage, the formatter module has been deprecated. This module supports two interface definitions, each with multiple diff --git a/Lib/formatter.py b/Lib/formatter.py index 5e8e2ff..e2394de 100644 --- a/Lib/formatter.py +++ b/Lib/formatter.py @@ -20,8 +20,8 @@ manage and inserting data into the output. import sys import warnings -warnings.warn('the formatter module is deprecated and will be removed in ' - 'Python 3.6', DeprecationWarning, stacklevel=2) +warnings.warn('the formatter module is deprecated', DeprecationWarning, + stacklevel=2) AS_IS = None @@ -63,6 +63,9 @@ Core and Builtins Library ------- +- Issue #25407: Remove mentions of the formatter module being removed in + Python 3.6. + - Issue #25406: Fixed a bug in C implementation of OrderedDict.move_to_end() that caused segmentation fault or hang in iterating after moving several items to the start of ordered dict. |