mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Reverting the changes made in r78432. Discussed in the tracker issue7540.
This commit is contained in:
parent
3c67d6ae54
commit
7eda9e9082
2 changed files with 0 additions and 4 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue