Apply Python 3 futurize transform lib2to3.fixes.fix_funcattrs.

This commit is contained in:
Tim Abbott 2015-11-01 08:09:54 -08:00
parent 2f573bbb10
commit a49e641719

View file

@ -351,7 +351,7 @@ class Client(object):
else:
req_url = url
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)
def call_on_each_event(self, callback, event_types=None, narrow=[]):