From 219cb4ab8ebe9220e5c090a1e99f990498dd90be Mon Sep 17 00:00:00 2001 From: Harmon Date: Mon, 6 Jan 2020 08:09:29 -0600 Subject: [PATCH] Fix code block formatting in Streaming documentation --- docs/streaming_how_to.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/streaming_how_to.rst b/docs/streaming_how_to.rst index 81d1539..3ab2b4f 100644 --- a/docs/streaming_how_to.rst +++ b/docs/streaming_how_to.rst @@ -54,6 +54,7 @@ The **on_data** method of Tweepy's **StreamListener** conveniently passes data from statuses to the **on_status** method. Create class **MyStreamListener** inheriting from **StreamListener** and overriding **on_status**.:: + import tweepy #override tweepy.StreamListener to add logic to on_status class MyStreamListener(tweepy.StreamListener): -- 2.25.1