From f8492ecbcac56359ecd3153abed6d993ee9aa244 Mon Sep 17 00:00:00 2001 From: Harmon Date: Fri, 25 Feb 2022 17:53:56 -0600 Subject: [PATCH] Use generic standard type collection type in documentation --- tweepy/client.py | 2 +- tweepy/streaming.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tweepy/client.py b/tweepy/client.py index 42ab503..6a51506 100644 --- a/tweepy/client.py +++ b/tweepy/client.py @@ -204,7 +204,7 @@ class Client(BaseClient): Twitter API Access Token access_token_secret : str | None Twitter API Access Token Secret - return_type : Type[dict | requests.Response | Response] + return_type : type[dict | requests.Response | Response] Type to return from requests to the API wait_on_rate_limit : bool Whether to wait when rate limit is reached diff --git a/tweepy/streaming.py b/tweepy/streaming.py index 4d527de..b4563cf 100644 --- a/tweepy/streaming.py +++ b/tweepy/streaming.py @@ -518,7 +518,7 @@ class StreamingClient(BaseClient, BaseStream): ---------- bearer_token : str Twitter API Bearer Token - return_type : Type[dict | requests.Response | Response] + return_type : type[dict | requests.Response | Response] Type to return from requests to the API wait_on_rate_limit : bool Whether to wait when rate limit is reached -- 2.25.1