Improve signature formatting in documentation for API.list_timeline
authorHarmon <Harmon758@gmail.com>
Mon, 24 May 2021 12:40:41 +0000 (07:40 -0500)
committerHarmon <Harmon758@gmail.com>
Mon, 24 May 2021 12:40:41 +0000 (07:40 -0500)
tweepy/api.py

index af468dc7c0b3333fd7e7c05080babb8b23b52925..9b4e367396f7b0d97e2073fd97e3fc0b01d388d0 100644 (file)
@@ -1512,9 +1512,10 @@ class API:
     @pagination(mode='id')
     @payload('status', list=True)
     def list_timeline(self, **kwargs):
-        """list_timeline(*, list_id, slug, owner_screen_name, owner_id, \
-                         since_id, max_id, count, include_entities, \
-                         include_rts)
+        """list_timeline( \
+            *, list_id, slug, owner_screen_name, owner_id, since_id, max_id, \
+            count, include_entities, include_rts \
+        )
 
         Returns a timeline of Tweets authored by members of the specified list.
         Retweets are included by default. Use the ``include_rts=false``