diff options
Diffstat (limited to 'Lib/formatter.py')
-rw-r--r-- | Lib/formatter.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/formatter.py b/Lib/formatter.py index 9338261be7..e2394de8c2 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', PendingDeprecationWarning) +warnings.warn('the formatter module is deprecated', DeprecationWarning, + stacklevel=2) AS_IS = None |