Skip to content

Commit

Permalink
Merge for issue #25407
Browse files Browse the repository at this point in the history
  • Loading branch information
brettcannon committed Oct 16, 2015
2 parents 83356f7 + 5ad5a7d commit aa15ea4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
5 changes: 2 additions & 3 deletions Doc/library/formatter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Lib/formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@

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
Expand Down
3 changes: 3 additions & 0 deletions Misc/NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit aa15ea4

Please sign in to comment.