projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18a6059
)
Change Stream.on_closed resp parameter name to response
author
Harmon
<Harmon758@gmail.com>
Mon, 12 Apr 2021 17:06:25 +0000
(12:06 -0500)
committer
Harmon
<Harmon758@gmail.com>
Mon, 12 Apr 2021 17:06:25 +0000
(12:06 -0500)
tweepy/streaming.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/streaming.py
b/tweepy/streaming.py
index ac53b139080e71bb8ceeac36a8fbd0254227db8e..0cb835a099bce3768e5803767ecd2e2d3d474f4f 100644
(file)
--- a/
tweepy/streaming.py
+++ b/
tweepy/streaming.py
@@
-316,12
+316,12
@@
class Stream:
"""Disconnect the stream"""
self.running = False
- def on_closed(self, resp):
+ def on_closed(self, resp
onse
):
"""This is called when the stream has been closed by Twitter.
Parameters
----------
- resp : requests.Response
+ resp
onse
: requests.Response
The Response from Twitter
"""
log.error("Stream connection closed by Twitter")