mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Reverting the change made in r78434
This commit is contained in:
parent
83b32fddd6
commit
056c060589
2 changed files with 0 additions and 4 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue