Merge branch 'master' into ts/lists_ownerships
authorHarmon <Harmon758@gmail.com>
Sun, 10 Jan 2021 03:14:45 +0000 (21:14 -0600)
committerGitHub <noreply@github.com>
Sun, 10 Jan 2021 03:14:45 +0000 (21:14 -0600)
1  2 
docs/api.rst
tests/test_api.py
tweepy/api.py
tweepy/models.py

diff --cc docs/api.rst
Simple merge
Simple merge
diff --cc tweepy/api.py
Simple merge
index 45fd08f4e05d7366c6328f4292325b60a39ad993,bafd910ecca4a3c457c66a6fab17695e5e6550a1..2ced5c1867b4ba5737e34c3ddafd8db91cedc346
@@@ -196,13 -190,8 +190,13 @@@ class User(Model, Hashable)
                                             *args,
                                             **kwargs)
  
 +    def lists_ownerships(self, *args, **kwargs):
 +        return self._api.lists_ownerships(user_id=self.id,
 +                                          *args,
 +                                          **kwargs)
 +
      def lists_subscriptions(self, *args, **kwargs):
-         return self._api.lists_subscriptions(user=self.screen_name,
+         return self._api.lists_subscriptions(user_id=self.id,
                                               *args,
                                               **kwargs)