Change directive in TweepyException and TooManyRequests documentation
authorHarmon <Harmon758@gmail.com>
Sun, 31 Oct 2021 19:12:21 +0000 (14:12 -0500)
committerHarmon <Harmon758@gmail.com>
Sun, 31 Oct 2021 19:12:21 +0000 (14:12 -0500)
Use version added instead of version changed

tweepy/errors.py

index 0e6d2f7bc379f2104328567b191781bf863bec36..85b5ccdafaa7a8aa2377f077b54fb580b5ecc75b 100644 (file)
@@ -12,9 +12,8 @@ except ImportError:
 
 class TweepyException(Exception):
     """Base exception for Tweepy
-    
-    .. versionchanged:: 4.0
-        Renamed from ``TweepError``
+
+    .. versionadded:: 4.0
     """
     pass
 
@@ -115,8 +114,7 @@ class TooManyRequests(HTTPException):
 
     Exception raised for a 429 HTTP status code
 
-    .. versionchanged:: 4.0
-        Renamed from ``RateLimitError``
+    .. versionadded:: 4.0
     """
     pass