diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-04-03 14:22:22 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-04-03 14:22:22 (GMT) |
commit | 2995f8a7985519687a8535af35c5a895a69c83ef (patch) | |
tree | 70fc7f44e1327512c515e805f2b538f8faf168c6 /Lib/cgi.py | |
parent | 10fbf183b387ca330c01ae88681ba59a6fbfb1b1 (diff) | |
parent | 4d59a7878643ded0b9dbb6a55d076769df4c76fe (diff) | |
download | cpython-2995f8a7985519687a8535af35c5a895a69c83ef.zip cpython-2995f8a7985519687a8535af35c5a895a69c83ef.tar.gz cpython-2995f8a7985519687a8535af35c5a895a69c83ef.tar.bz2 |
merge 3.4 (#21135)
Diffstat (limited to 'Lib/cgi.py')
-rwxr-xr-x | Lib/cgi.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1045,7 +1045,7 @@ def escape(s, quote=None): return s -def valid_boundary(s, _vb_pattern=None): +def valid_boundary(s): import re if isinstance(s, bytes): _vb_pattern = b"^[ -~]{0,200}[!-~]$" |