Apply Python 3 futurize transform lib2to3.fixes.fix_funcattrs.
This commit is contained in:
parent
2f573bbb10
commit
a49e641719
|
@ -351,7 +351,7 @@ class Client(object):
|
||||||
else:
|
else:
|
||||||
req_url = url
|
req_url = url
|
||||||
return self.do_api_query(request, API_VERSTRING + req_url, method=method, **query_kwargs)
|
return self.do_api_query(request, API_VERSTRING + req_url, method=method, **query_kwargs)
|
||||||
call.func_name = name
|
call.__name__ = name
|
||||||
setattr(cls, name, call)
|
setattr(cls, name, call)
|
||||||
|
|
||||||
def call_on_each_event(self, callback, event_types=None, narrow=[]):
|
def call_on_each_event(self, callback, event_types=None, narrow=[]):
|
||||||
|
|
Loading…
Reference in a new issue