Improve documentation for Stream.sample
authorHarmon <Harmon758@gmail.com>
Thu, 29 Apr 2021 10:45:40 +0000 (05:45 -0500)
committerHarmon <Harmon758@gmail.com>
Thu, 29 Apr 2021 10:45:40 +0000 (05:45 -0500)
Define links in Stream.sample as well as Stream.filter

tweepy/streaming.py

index a711cd8b1274aae3d5233d8050b26cddc642c431..6191baef6639d4506b5238451b8acbcac82fd697 100644 (file)
@@ -294,6 +294,9 @@ class Stream:
         References
         ----------
         https://developer.twitter.com/en/docs/twitter-api/v1/tweets/sample-realtime/api-reference/get-statuses-sample
+
+        .. _BCP 47: https://tools.ietf.org/html/bcp47
+        .. _advanced search: https://twitter.com/search-advanced
         """
         if self.running:
             raise TweepyException("Stream is already connected")