summaryrefslogtreecommitdiff
path: root/Lib/urllib2.py
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-03-07 04:09:30 +0000
committerSenthil Kumaran <orsenthil@gmail.com>2010-03-07 04:09:30 +0000
commit3e5760ee88c796053ea8d2509773964c7c1072cb (patch)
treee3908415d039a9784beaedf3093da331b245b5ae /Lib/urllib2.py
parentfa2e3670dbe1ee10cb06f78c80af2bd98d302d77 (diff)
downloadcpython-3e5760ee88c796053ea8d2509773964c7c1072cb.tar.gz
Reverting the change made in r78431.
Diffstat (limited to 'Lib/urllib2.py')
-rw-r--r--Lib/urllib2.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/urllib2.py b/Lib/urllib2.py
index 8b26971757..122f777ce4 100644
--- a/Lib/urllib2.py
+++ b/Lib/urllib2.py
@@ -226,9 +226,6 @@ class Request:
# XXX these helper methods are lame
def add_data(self, data):
- if self.has_data():
- raise TypeError("Request Obj already contains data: %s" %
- self.data)
self.data = data
def has_data(self):