From 8322cf6252db66c2288fdbf6c218f88518320cb9 Mon Sep 17 00:00:00 2001 From: Or Arbel Date: Tue, 19 Jan 2016 19:19:51 -0800 Subject: [PATCH] 'MyStreamListener' object is not callable" Fix for "TypeError: 'MyStreamListener' object is not callable" --- docs/streaming_how_to.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/streaming_how_to.rst b/docs/streaming_how_to.rst index a2bd43d..b3b5deb 100644 --- a/docs/streaming_how_to.rst +++ b/docs/streaming_how_to.rst @@ -66,7 +66,7 @@ We need an api to stream. See :ref:`auth_tutorial` to learn how to get an api ob Once we have an api and a status listener we can create our stream object.:: myStreamListener = MyStreamListener() - myStream = tweepy.Stream(auth = api.auth, listener=myStreamListener()) + myStream = tweepy.Stream(auth = api.auth, listener=myStreamListener) Step 3: Starting a Stream ========================= -- 2.25.1