Skip to content

Commit cbcf58b

Browse files
committed
corrected comments for DestoryBlock, DestroyMute
DestroyBlock comments: block to unblock. DestroyMute comments: mute to unmute.
1 parent 91e7114 commit cbcf58b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

twitter/api.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2209,17 +2209,17 @@ def DestroyBlock(self,
22092209
22102210
Args:
22112211
user_id (int, optional)
2212-
The numerical ID of the user to block.
2212+
The numerical ID of the user to unblock.
22132213
screen_name (str, optional):
2214-
The screen name of the user to block.
2214+
The screen name of the user to unblock.
22152215
include_entities (bool, optional):
22162216
The entities node will not be included if set to False.
22172217
skip_status (bool, optional):
2218-
When set to False, the blocked User's statuses will not be included
2218+
When set to False, the unblocked User's statuses will not be included
22192219
with the returned User object.
22202220
22212221
Returns:
2222-
A twitter.User instance representing the blocked user.
2222+
A twitter.User instance representing the unblocked user.
22232223
"""
22242224
return self._BlockMute(action='destroy',
22252225
endpoint='block',
@@ -2265,13 +2265,13 @@ def DestroyMute(self,
22652265
22662266
Args:
22672267
user_id (int, optional)
2268-
The numerical ID of the user to mute.
2268+
The numerical ID of the user to unmute.
22692269
screen_name (str, optional):
2270-
The screen name of the user to mute.
2270+
The screen name of the user to unmute.
22712271
include_entities (bool, optional):
22722272
The entities node will not be included if set to False.
22732273
skip_status (bool, optional):
2274-
When set to False, the muted User's statuses will not be included
2274+
When set to False, the unmuted User's statuses will not be included
22752275
with the returned User object.
22762276
22772277
Returns:

0 commit comments

Comments
 (0)