Update twython/twython.py

updating default version of api as well. come on playa.
This commit is contained in:
Mahdi Yusuf 2013-02-05 16:53:47 -05:00
parent dbf2a461b8
commit b0f5af37d5

View file

@ -82,7 +82,7 @@ class TwythonRateLimitError(TwythonError):
class Twython(object):
def __init__(self, app_key=None, app_secret=None, oauth_token=None, oauth_token_secret=None, \
headers=None, callback_url=None, twitter_token=None, twitter_secret=None, proxies=None, version='1'):
headers=None, callback_url=None, twitter_token=None, twitter_secret=None, proxies=None, version='1.1'):
"""Instantiates an instance of Twython. Takes optional parameters for authentication and such (see below).
:param app_key: (optional) Your applications key