From 6b1944b23aeb93166964f96d71f408cd21ef64be Mon Sep 17 00:00:00 2001 From: Harmon Date: Mon, 28 Dec 2020 06:55:58 -0600 Subject: [PATCH] Remove Stream.retweet --- tweepy/streaming.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tweepy/streaming.py b/tweepy/streaming.py index 133c57d..1fdae6b 100644 --- a/tweepy/streaming.py +++ b/tweepy/streaming.py @@ -417,13 +417,6 @@ class Stream: self._start(is_async) - def retweet(self, is_async=False): - self.session.params = {'delimited': 'length'} - if self.running: - raise TweepError('Stream object already connected!') - self.url = '/%s/statuses/retweet.json' % STREAM_VERSION - self._start(is_async) - def sample(self, is_async=False, languages=None, stall_warnings=False): self.session.params = {'delimited': 'length'} if self.running: -- 2.25.1