From bcf89eab8a1be37673be346b4a820a626f5b925e Mon Sep 17 00:00:00 2001 From: Harmon Date: Fri, 20 May 2022 05:56:51 -0500 Subject: [PATCH] Add Raises section to Stream.sample documentation --- tweepy/streaming.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tweepy/streaming.py b/tweepy/streaming.py index 8ccff23..fff0b53 100644 --- a/tweepy/streaming.py +++ b/tweepy/streaming.py @@ -386,6 +386,11 @@ class Stream(BaseStream): threaded : bool Whether or not to use a thread to run the stream + Raises + ------ + TweepyException + When the stream is already connected + Returns ------- threading.Thread | None -- 2.25.1