File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,8 @@ Running the examples
41
41
After cloning the repository, enter the ``examples `` directory and try running
42
42
one of the following examples listed below. For example::
43
43
44
- python examples/3d_box.py
44
+ cd examples
45
+ python 3d_box.py
45
46
46
47
========================= ================================================================
47
48
Example Description
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
2
# -*- coding: utf-8 -*-
3
- # Copyright (c) 2014-18 Richard Hull and contributors
3
+ # Copyright (c) 2014-2020 Richard Hull and contributors
4
4
# See LICENSE.rst for details.
5
5
# PYTHON_ARGCOMPLETE_OK
6
6
@@ -107,7 +107,7 @@ def on_status(self, status):
107
107
108
108
try :
109
109
stream = tweepy .Stream (auth = api .auth , listener = listener (queue ))
110
- stream .filter (track = search_terms , async = True ) # noqa: W606
110
+ stream .filter (track = search_terms , is_async = True ) # noqa: W606
111
111
112
112
try :
113
113
while True :
You can’t perform that action at this time.
0 commit comments