projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
605a911
)
Don't pass self to API methods
author
Aaron Hill
<aa1ronham@gmail.com>
Wed, 18 Jun 2014 17:12:03 +0000
(13:12 -0400)
committer
Aaron Hill
<aa1ronham@gmail.com>
Wed, 18 Jun 2014 17:12:03 +0000
(13:12 -0400)
tweepy/api.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/api.py
b/tweepy/api.py
index 73038eceefb8da8af2f0f6928d395e34aa2ce755..49b5219b2f9133aee91ba912453c5eee358bd399 100644
(file)
--- a/
tweepy/api.py
+++ b/
tweepy/api.py
@@
-195,7
+195,7
@@
class API(object):
'place_id', 'display_coordinates'
],
require_auth=True
- )(
self,
*args, **kwargs)
+ )(*args, **kwargs)
@property
def destroy_status(self):
@@
-553,7
+553,7
@@
class API(object):
payload_type='user',
require_auth=True,
allowed_param=['include_entities', 'skip_status'],
- )(
self,
**kargs)
+ )(**kargs)
except TweepError as e:
if e.response and e.response.status == 401:
return False