diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2011-12-10 10:07:42 (GMT) |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2011-12-10 10:07:42 (GMT) |
commit | 67317750aff37489fd3fa279413ef20450e7c808 (patch) | |
tree | de83b05031484f7aad83149092c1ce9318b5ec3d /Lib/cgi.py | |
parent | 720682efd1a98dcd70a829c2a06f5fd07638af26 (diff) | |
download | cpython-67317750aff37489fd3fa279413ef20450e7c808.zip cpython-67317750aff37489fd3fa279413ef20450e7c808.tar.gz cpython-67317750aff37489fd3fa279413ef20450e7c808.tar.bz2 |
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
@@ -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(">", ">") |