File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ Migration from v2 to v3
44Changes to Existing Methods
55===========================
66
7+ :py:func: `twitter.api.Api() `
8+ ++++++++++++++++++++++++++++
9+ * ``shortner `` parameter has been removed. Please see `Issue
10+ #298 <https://github.com/bear/python-twitter/issues/298> `_.
11+
712:py:func: `twitter.api.Api.CreateFavorite `
813+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
914* kwarg param has been changed to ``status_id `` from ``id `` to be consistent
Original file line number Diff line number Diff line change @@ -132,7 +132,6 @@ def __init__(self,
132132 input_encoding = None ,
133133 request_headers = None ,
134134 cache = DEFAULT_CACHE ,
135- shortner = None ,
136135 base_url = None ,
137136 stream_url = None ,
138137 upload_url = None ,
@@ -161,9 +160,6 @@ def __init__(self,
161160 cache:
162161 The cache instance to use. Defaults to DEFAULT_CACHE.
163162 Use None to disable caching. [Optional]
164- shortner:
165- The shortner instance to use. Defaults to None.
166- See shorten_url.py for an example shortner. [Optional]
167163 base_url:
168164 The base URL to use to contact the Twitter API.
169165 Defaults to https://api.twitter.com. [Optional]
@@ -1561,7 +1557,6 @@ def GetRetweeters(self,
15611557 parameters ['count' ] = int (cursor )
15621558 except ValueError :
15631559 raise TwitterError ({'message' : "cursor must be an integer" })
1564- break
15651560 resp = self ._RequestUrl (url , 'GET' , data = parameters )
15661561 data = self ._ParseAndCheckTwitter (resp .content .decode ('utf-8' ))
15671562 result += [x for x in data ['ids' ]]
You can’t perform that action at this time.
0 commit comments