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
9520bf5a
Commit
9520bf5a
authored
Jul 16, 2012
by
Vinson Lee
Browse files
Remove deprecated statuses/public_timeline.
Signed-off-by:
Vinson Lee
<
vlee@twitter.com
>
parent
43581ea3
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests.py
View file @
9520bf5a
...
...
@@ -26,9 +26,6 @@ class TweepyAPITests(unittest.TestCase):
self
.
api
.
retry_count
=
2
self
.
api
.
retry_delay
=
5
def
testpublictimeline
(
self
):
self
.
api
.
public_timeline
()
def
testhometimeline
(
self
):
self
.
api
.
home_timeline
()
...
...
tweepy/api.py
View file @
9520bf5a
...
...
@@ -31,13 +31,6 @@ class API(object):
self
.
retry_errors
=
retry_errors
self
.
parser
=
parser
or
ModelParser
()
""" statuses/public_timeline """
public_timeline
=
bind_api
(
path
=
'/statuses/public_timeline.json'
,
payload_type
=
'status'
,
payload_list
=
True
,
allowed_param
=
[]
)
""" statuses/home_timeline """
home_timeline
=
bind_api
(
path
=
'/statuses/home_timeline.json'
,
...
...
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