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

Commit 4f26a61

Browse files
authored
Merge pull request #441 from bear/fix/issue426
Fix instances where kwargs should default to None
2 parents a779827 + 77398cb commit 4f26a61

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

twitter/api.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3592,8 +3592,8 @@ def CreateList(self, name, mode=None, description=None):
35923592
return List.NewFromJsonDict(data)
35933593

35943594
def DestroyList(self,
3595-
owner_screen_name=False,
3596-
owner_id=False,
3595+
owner_screen_name=None,
3596+
owner_id=None,
35973597
list_id=None,
35983598
slug=None):
35993599
"""Destroys the list identified by list_id or slug and one of
@@ -3631,8 +3631,8 @@ def DestroyList(self,
36313631
return List.NewFromJsonDict(data)
36323632

36333633
def CreateSubscription(self,
3634-
owner_screen_name=False,
3635-
owner_id=False,
3634+
owner_screen_name=None,
3635+
owner_id=None,
36363636
list_id=None,
36373637
slug=None):
36383638
"""Creates a subscription to a list by the authenticated user.
@@ -3668,8 +3668,8 @@ def CreateSubscription(self,
36683668
return User.NewFromJsonDict(data)
36693669

36703670
def DestroySubscription(self,
3671-
owner_screen_name=False,
3672-
owner_id=False,
3671+
owner_screen_name=None,
3672+
owner_id=None,
36733673
list_id=None,
36743674
slug=None):
36753675
"""Destroys the subscription to a list for the authenticated user.
@@ -3706,8 +3706,8 @@ def DestroySubscription(self,
37063706
return List.NewFromJsonDict(data)
37073707

37083708
def ShowSubscription(self,
3709-
owner_screen_name=False,
3710-
owner_id=False,
3709+
owner_screen_name=None,
3710+
owner_id=None,
37113711
list_id=None,
37123712
slug=None,
37133713
user_id=None,
@@ -4171,8 +4171,8 @@ def CreateListsMember(self,
41714171
def DestroyListsMember(self,
41724172
list_id=None,
41734173
slug=None,
4174-
owner_screen_name=False,
4175-
owner_id=False,
4174+
owner_screen_name=None,
4175+
owner_id=None,
41764176
user_id=None,
41774177
screen_name=None):
41784178
"""Destroys the subscription to a list for the authenticated user.

0 commit comments

Comments
 (0)