Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Zahra Rajabi
tweepy
Commits
eeab17e6
Commit
eeab17e6
authored
Dec 31, 2014
by
grocerheist
Browse files
fix formatting in last code snippet.
parent
90da2559
Changes
1
Show whitespace changes
Inline
Side-by-side
docs/streaming_how_to.rst
View file @
eeab17e6
...
...
@@ -100,7 +100,7 @@ in a window of time, they will receive error 420. The amount of time a client h
will increase exponentially each time they make a failed attempt.
Tweepy's **Stream Listener** usefully passes error messages to an **on_error** stub. We can use **on_error** to
catch 420 errors and disconnect our stream.::
catch 420 errors and disconnect our stream.
::
class MyStreamListener(tweepy.StreamListener):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment