summaryrefslogtreecommitdiffstats
path: root/Lib/urllib
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-12-19 12:33:52 (GMT)
committerGeorg Brandl <georg@python.org>2010-12-19 12:33:52 (GMT)
commit09a7df8301bef5a5ac957371ae9e19c68acdca0a (patch)
tree7e1916896b3ea48fb5009a30e0915155a46f9a5a /Lib/urllib
parent7bc0d872ddb023333acc05b7d038cdb74cfc047b (diff)
downloadcpython-09a7df8301bef5a5ac957371ae9e19c68acdca0a.zip
cpython-09a7df8301bef5a5ac957371ae9e19c68acdca0a.tar.gz
cpython-09a7df8301bef5a5ac957371ae9e19c68acdca0a.tar.bz2
#3243 follow-up: remove debugging print and fix docs; data is a bytes object.v3.2b2
Diffstat (limited to 'Lib/urllib')
-rw-r--r--Lib/urllib/request.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py
index 732c112..17936ee 100644
--- a/Lib/urllib/request.py
+++ b/Lib/urllib/request.py
@@ -1057,7 +1057,6 @@ class AbstractHTTPHandler(BaseHandler):
try:
mv = memoryview(data)
except TypeError:
- print(data)
if isinstance(data, collections.Iterable):
raise ValueError("Content-Length should be specified \
for iterable data of type %r %r" % (type(data),