Remove Stream.retweet
authorHarmon <Harmon758@gmail.com>
Mon, 28 Dec 2020 12:55:58 +0000 (06:55 -0600)
committerHarmon <Harmon758@gmail.com>
Mon, 28 Dec 2020 12:55:58 +0000 (06:55 -0600)
tweepy/streaming.py

index 133c57d4e415e50c8fb2b210da1e3a517c255378..1fdae6b8c0ba8927540bd64305b17055236c6f12 100644 (file)
@@ -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: