diff options
author | Senthil Kumaran <orsenthil@gmail.com> | 2010-03-07 04:12:02 (GMT) |
---|---|---|
committer | Senthil Kumaran <orsenthil@gmail.com> | 2010-03-07 04:12:02 (GMT) |
commit | 57de4c45ff81e7bd75123d56129153a9d6711a8b (patch) | |
tree | 67765fae2c6325bb6634033c26c497679ee781fd /Lib/urllib | |
parent | ff80b17b633096c63b5c18a3ee643c1fa3c53d48 (diff) | |
download | cpython-57de4c45ff81e7bd75123d56129153a9d6711a8b.zip cpython-57de4c45ff81e7bd75123d56129153a9d6711a8b.tar.gz cpython-57de4c45ff81e7bd75123d56129153a9d6711a8b.tar.bz2 |
Reverting the changes made in r78433.
Diffstat (limited to 'Lib/urllib')
-rw-r--r-- | Lib/urllib/request.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index 5bdc103..b9de479 100644 --- a/Lib/urllib/request.py +++ b/Lib/urllib/request.py @@ -192,9 +192,6 @@ class Request: # Begin deprecated methods 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): |