From: Harmon Date: Sun, 20 Feb 2022 03:10:31 +0000 (-0600) Subject: Improve indentation in Streaming documentation X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=12220d5c6d2cd1b94eaa5b8081c88f5fd705a343;p=tweepy.git Improve indentation in Streaming documentation --- diff --git a/docs/streaming.rst b/docs/streaming.rst index 7206a82..f77e33a 100644 --- a/docs/streaming.rst +++ b/docs/streaming.rst @@ -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()