From: Harmon <Harmon758@gmail.com>
Date: Fri, 20 May 2022 10:57:31 +0000 (-0500)
Subject: Add Raises section to StreamingClient.sample documentation
X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=59fc7a2fce1962a8d158012179b6b590f8a0ee21;p=tweepy.git

Add Raises section to StreamingClient.sample documentation
---

diff --git a/tweepy/streaming.py b/tweepy/streaming.py
index fd57414..9ff3746 100644
--- a/tweepy/streaming.py
+++ b/tweepy/streaming.py
@@ -855,6 +855,11 @@ class StreamingClient(BaseClient, 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