Improve indentation in Streaming documentation
authorHarmon <Harmon758@gmail.com>
Sun, 20 Feb 2022 03:10:31 +0000 (21:10 -0600)
committerHarmon <Harmon758@gmail.com>
Sun, 20 Feb 2022 06:08:21 +0000 (00:08 -0600)
docs/streaming.rst

index 7206a82a4953559c766743301976fce6aa8be93e..f77e33a2da1d07038a788f226d14dac8a44605e2 100644 (file)
@@ -31,8 +31,8 @@ Secret)::
     import tweepy
 
     stream = tweepy.Stream(
-      "Consumer Key here", "Consumer Secret here",
-      "Access Token here", "Access Token Secret here"
+        "Consumer Key here", "Consumer Secret here",
+        "Access Token here", "Access Token Secret here"
     )
 
 Then, :meth:`Stream.filter` or :meth:`Stream.sample` can be used to connect to
@@ -60,8 +60,8 @@ subclassed. For example, to print the IDs of every Tweet received::
 
 
     printer = IDPrinter(
-      "Consumer Key here", "Consumer Secret here",
-      "Access Token here", "Access Token Secret here"
+        "Consumer Key here", "Consumer Secret here",
+        "Access Token here", "Access Token Secret here"
     )
     printer.sample()