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

Commit 63cbcac

Browse files
committed
Merge pull request #172 from greedo/spelling
Spelling
2 parents 63b571c + e92f50e commit 63cbcac

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

twitter/api.py

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def GetShortUrlLength(self, https=False):
248248
return config['short_url_length']
249249

250250
def ClearCredentials(self):
251-
'''Clear the any credentials for this instance
251+
'''Clear any credentials for this instance
252252
'''
253253
self._consumer_key = None
254254
self._consumer_secret = None
@@ -1669,7 +1669,8 @@ def GetUser(self,
16691669
Either a user_id or screen_name is required for this method.
16701670
[Optional]
16711671
include_entities:
1672-
if set to False, the 'entities' node will not be included. [Optional]
1672+
The entities node will be omitted when set to False.
1673+
[Optional]
16731674
16741675
Returns:
16751676
A twitter.User instance representing that user
@@ -1719,7 +1720,8 @@ def GetDirectMessages(self,
17191720
number of Tweets to return because suspended or deleted content is
17201721
removed after the count has been applied. [Optional]
17211722
include_entities:
1722-
The entities node will not be included when set to False. [Optional]
1723+
The entities node will be omitted when set to False.
1724+
[Optional]
17231725
skip_status:
17241726
When set to True statuses will not be included in the returned user
17251727
objects. [Optional]
@@ -1780,7 +1782,8 @@ def GetSentDirectMessages(self,
17801782
Specifies the page of results to retrieve.
17811783
Note: there are pagination limits. [Optional]
17821784
include_entities:
1783-
The entities node will not be included when set to False. [Optional]
1785+
The entities node will be omitted when set to False.
1786+
[Optional]
17841787
17851788
Returns:
17861789
A sequence of twitter.DirectMessage instances
@@ -2959,7 +2962,8 @@ def UpdateProfile(self,
29592962
A description of the user owning the account.
29602963
Maximum of 160 characters. [Optional]
29612964
include_entities:
2962-
The entities node will not be included when set to False. [Optional]
2965+
The entities node will be omitted when set to False.
2966+
[Optional]
29632967
skip_status:
29642968
When set to either True, t or 1 then statuses will not be included
29652969
in the returned user objects. [Optional]

twitter/user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class UserStatus(object):
1212
userstatus.id
1313
userstatus.screen_name
1414
userstatus.following
15-
userstatus.follwed_by
15+
userstatus.followed_by
1616
'''
1717
def __init__(self, **kwargs):
1818
'''An object to hold a Twitter user status message.

0 commit comments

Comments
 (0)