projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b170720
)
Change Stream.filter to use keyword-only arguments
author
Harmon
<Harmon758@gmail.com>
Sat, 23 Jan 2021 19:58:56 +0000
(13:58 -0600)
committer
Harmon
<Harmon758@gmail.com>
Sat, 23 Jan 2021 19:58:56 +0000
(13:58 -0600)
tweepy/streaming.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/streaming.py
b/tweepy/streaming.py
index 937e7e2eec7aea1f45013b9d89c1552f43b380ee..b35aa39c69edd042dea5d62b0f7098dbd0b48478 100644
(file)
--- a/
tweepy/streaming.py
+++ b/
tweepy/streaming.py
@@
-231,8
+231,9
@@
class Stream:
args=args, kwargs=kwargs, daemon=self.daemon)
self.thread.start()
- def filter(self, follow=None, track=None, threaded=False, locations=None,
- stall_warnings=False, languages=None, filter_level=None):
+ def filter(self, *, follow=None, track=None, threaded=False,
+ locations=None, stall_warnings=False, languages=None,
+ filter_level=None):
body = {}
if self.running:
raise TweepError('Stream object already connected!')