diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2011-12-10 11:07:42 +0100 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2011-12-10 11:07:42 +0100 |
commit | 67317750aff37489fd3fa279413ef20450e7c808 (patch) | |
tree | de83b05031484f7aad83149092c1ce9318b5ec3d /Lib/cgi.py | |
parent | 720682efd1a98dcd70a829c2a06f5fd07638af26 (diff) | |
download | cpython-67317750aff37489fd3fa279413ef20450e7c808.tar.gz cpython-67317750aff37489fd3fa279413ef20450e7c808.zip |
Issue #13248: turn 3.2's PendingDeprecationWarning into 3.3's DeprecationWarning (cgi, importlib, nntplib, smtpd).
Diffstat (limited to 'Lib/cgi.py')
-rwxr-xr-x | Lib/cgi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/cgi.py b/Lib/cgi.py index b3e32f1ba86..e964f0c435c 100755 --- a/Lib/cgi.py +++ b/Lib/cgi.py @@ -1012,7 +1012,7 @@ environment as well. Here are some common variable names: def escape(s, quote=None): """Deprecated API.""" warn("cgi.escape is deprecated, use html.escape instead", - PendingDeprecationWarning, stacklevel=2) + DeprecationWarning, stacklevel=2) s = s.replace("&", "&") # Must be done first! s = s.replace("<", "<") s = s.replace(">", ">") |