From eb6efc78a132ec66064ab7b7650d1894116b5a6d Mon Sep 17 00:00:00 2001 From: Harmon Date: Sun, 31 Oct 2021 14:12:21 -0500 Subject: [PATCH] Change directive in TweepyException and TooManyRequests documentation Use version added instead of version changed --- tweepy/errors.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tweepy/errors.py b/tweepy/errors.py index 0e6d2f7..85b5ccd 100644 --- a/tweepy/errors.py +++ b/tweepy/errors.py @@ -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 -- 2.25.1