diff options
author | Brett Cannon <brett@python.org> | 2013-10-04 15:38:59 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2013-10-04 15:38:59 (GMT) |
commit | 1448ecf470013cee63c0682f615c5256928dc6b0 (patch) | |
tree | bd8650fbd71fe3aee320e8be61f87b78893c3142 /Lib/formatter.py | |
parent | cc5d49e3daeeef7809dcc93a22f0e5185961185f (diff) | |
download | cpython-1448ecf470013cee63c0682f615c5256928dc6b0.zip cpython-1448ecf470013cee63c0682f615c5256928dc6b0.tar.gz cpython-1448ecf470013cee63c0682f615c5256928dc6b0.tar.bz2 |
Issue #18716: Deprecate the formatter module
Diffstat (limited to 'Lib/formatter.py')
-rw-r--r-- | Lib/formatter.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/formatter.py b/Lib/formatter.py index 60e60f1..d8cca52 100644 --- a/Lib/formatter.py +++ b/Lib/formatter.py @@ -19,6 +19,9 @@ 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) AS_IS = None |