projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30529d3
)
Fix code block formatting in Streaming documentation
author
Harmon
<Harmon758@gmail.com>
Mon, 6 Jan 2020 14:09:29 +0000
(08:09 -0600)
committer
Harmon
<Harmon758@gmail.com>
Mon, 6 Jan 2020 14:09:29 +0000
(08:09 -0600)
docs/streaming_how_to.rst
patch
|
blob
|
blame
|
history
diff --git
a/docs/streaming_how_to.rst
b/docs/streaming_how_to.rst
index 81d1539496bc023b6ed22559717585cd8c1e5408..3ab2b4f0b546200eff9da1090660462a7d9d9ffb 100644
(file)
--- 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):