projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbc7946
)
Make Stream._start threaded parameter keyword-only argument
author
Harmon
<Harmon758@gmail.com>
Sat, 23 Jan 2021 13:55:13 +0000
(07:55 -0600)
committer
Harmon
<Harmon758@gmail.com>
Sat, 23 Jan 2021 13:55:13 +0000
(07:55 -0600)
tweepy/streaming.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/streaming.py
b/tweepy/streaming.py
index 1ede502f4839c70828ef2d76c61d65333a99453a..8b73e1474ba6dcfc580149902bf4e2234d765592 100644
(file)
--- a/
tweepy/streaming.py
+++ b/
tweepy/streaming.py
@@
-228,7
+228,7
@@
class Stream:
if resp.raw.closed:
self.on_closed(resp)
- def _start(self,
threaded=False, *args
, **kwargs):
+ def _start(self,
*args, threaded=False
, **kwargs):
self.running = True
if threaded:
self._thread = Thread(target=self._run, args=args, kwargs=kwargs,