From: Harmon Date: Tue, 6 Apr 2021 17:35:11 +0000 (-0500) Subject: Fix API documentation to refer to Parser instance for parser parameter X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a94ef5edaa3d69912157a11e05aed5c09428b376;p=tweepy.git Fix API documentation to refer to Parser instance for parser parameter --- diff --git a/tweepy/api.py b/tweepy/api.py index b2d5f1c..203145d 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -61,13 +61,14 @@ class API: :param retry_errors: Which HTTP status codes to retry :param timeout: The maximum amount of time to wait for a response from Twitter - :param parser: The object to use for parsing the response from Twitter + :param parser: The Parser instance to use for parsing the response from + Twitter :param wait_on_rate_limit: Whether or not to automatically wait for rate limits to replenish :param proxy: The full url to an HTTPS proxy to use for connecting to Twitter - :raise TypeError: If the given parser is not a ModelParser instance + :raise TypeError: If the given parser is not a Parser instance :reference: https://developer.twitter.com/en/docs/api-reference-index """