diff options
author | Philip Jenvey <pjenvey@underboss.org> | 2009-05-08 02:47:02 (GMT) |
---|---|---|
committer | Philip Jenvey <pjenvey@underboss.org> | 2009-05-08 02:47:02 (GMT) |
commit | 54cea3b1a5f0f5673fb08addc509d130b369c629 (patch) | |
tree | f3e1804acef63f0153b54432887d76c07b1b3897 /Lib/cgi.py | |
parent | 476a64213ff7e4c3524303884858b9a43a408185 (diff) | |
download | cpython-54cea3b1a5f0f5673fb08addc509d130b369c629.zip cpython-54cea3b1a5f0f5673fb08addc509d130b369c629.tar.gz cpython-54cea3b1a5f0f5673fb08addc509d130b369c629.tar.bz2 |
Merged revisions 72458 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72458 | philip.jenvey | 2009-05-07 19:28:39 -0700 (Thu, 07 May 2009) | 2 lines
#4351: more appropriate DeprecationWarning stacklevels
........
Diffstat (limited to 'Lib/cgi.py')
-rwxr-xr-x | Lib/cgi.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -181,14 +181,14 @@ def parse(fp=None, environ=os.environ, keep_blank_values=0, strict_parsing=0): def parse_qs(qs, keep_blank_values=0, strict_parsing=0): """Parse a query given as a string argument.""" warn("cgi.parse_qs is deprecated, use urlparse.parse_qs \ - instead",PendingDeprecationWarning) + instead", PendingDeprecationWarning, 2) return urlparse.parse_qs(qs, keep_blank_values, strict_parsing) def parse_qsl(qs, keep_blank_values=0, strict_parsing=0): """Parse a query given as a string argument.""" warn("cgi.parse_qsl is deprecated, use urlparse.parse_qsl instead", - PendingDeprecationWarning) + PendingDeprecationWarning, 2) return urlparse.parse_qsl(qs, keep_blank_values, strict_parsing) def parse_multipart(fp, pdict): |