mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
Issue #19165: The formatter module graduates to full deprecation.
This commit is contained in:
parent
9ab748013b
commit
a77d0c36e5
3 changed files with 6 additions and 2 deletions
|
|
@ -165,7 +165,8 @@ Unsupported Operating Systems
|
|||
Deprecated Python modules, functions and methods
|
||||
------------------------------------------------
|
||||
|
||||
* None yet.
|
||||
* The :mod:`formatter` module has now graduated to full deprecation and is still
|
||||
slated for removal in Python 3.6.
|
||||
|
||||
|
||||
Deprecated functions and types of the C API
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ 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', PendingDeprecationWarning)
|
||||
'Python 3.6', DeprecationWarning)
|
||||
|
||||
|
||||
AS_IS = None
|
||||
|
|
|
|||
|
|
@ -23,6 +23,9 @@ Core and Builtins
|
|||
Library
|
||||
-------
|
||||
|
||||
- Issue #19165: The formatter module now raises DeprecationWarning instead of
|
||||
PendingDeprecationWarning.
|
||||
|
||||
- Issue #13936: Remove the ability of datetime.time instances to be considered
|
||||
false in boolean contexts.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue