Skip to content
This repository was archived by the owner on Aug 7, 2024. It is now read-only.

Commit eecccff

Browse files
authored
fixed inconsistent naming of variable
GetRetweets used to have `statusid` instead of `status_id`
1 parent a1fe9c8 commit eecccff

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

twitter/api.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1676,14 +1676,14 @@ def GetReplies(self,
16761676
exclude_replies=False, include_rts=False)
16771677

16781678
def GetRetweets(self,
1679-
statusid,
1679+
status_id,
16801680
count=None,
16811681
trim_user=False):
16821682
"""Returns up to 100 of the first retweets of the tweet identified
1683-
by statusid
1683+
by status_id
16841684
16851685
Args:
1686-
statusid (int):
1686+
status_id (int):
16871687
The ID of the tweet for which retweets should be searched for
16881688
count (int, optional):
16891689
The number of status messages to retrieve.
@@ -1692,9 +1692,9 @@ def GetRetweets(self,
16921692
otherwise the payload will contain the full user data item.
16931693
16941694
Returns:
1695-
A list of twitter.Status instances, which are retweets of statusid
1695+
A list of twitter.Status instances, which are retweets of status_id
16961696
"""
1697-
url = '%s/statuses/retweets/%s.json' % (self.base_url, statusid)
1697+
url = '%s/statuses/retweets/%s.json' % (self.base_url, status_id)
16981698
parameters = {
16991699
'trim_user': enf_type('trim_user', bool, trim_user),
17001700
}

0 commit comments

Comments
 (0)