From: Harmon Date: Thu, 18 Aug 2022 14:13:54 +0000 (-0500) Subject: Correct typo in documentation for add_rules and delete_rules X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=9b636bc529687dbd993bb1aef0177ee78afdabec;p=tweepy.git Correct typo in documentation for add_rules and delete_rules Resolves #1937 --- diff --git a/tweepy/asynchronous/streaming.py b/tweepy/asynchronous/streaming.py index 25a544b..0f374c0 100644 --- a/tweepy/asynchronous/streaming.py +++ b/tweepy/asynchronous/streaming.py @@ -623,8 +623,8 @@ class AsyncStreamingClient(AsyncBaseClient, AsyncBaseStream): add : list[StreamRule] | StreamRule Specifies the operation you want to perform on the rules. dry_run : bool - Set to true to test a the syntax of your rule without submitting - it. This is useful if you want to check the syntax of a rule before + Set to true to test the syntax of your rule without submitting it. + This is useful if you want to check the syntax of a rule before removing one or more of your existing rules. Returns @@ -662,8 +662,8 @@ class AsyncStreamingClient(AsyncBaseClient, AsyncBaseStream): Array of rule IDs, each one representing a rule already active in your stream. IDs must be submitted as strings. dry_run : bool - Set to true to test a the syntax of your rule without submitting - it. This is useful if you want to check the syntax of a rule before + Set to true to test the syntax of your rule without submitting it. + This is useful if you want to check the syntax of a rule before removing one or more of your existing rules. Returns diff --git a/tweepy/streaming.py b/tweepy/streaming.py index 2fff781..3ba87f3 100644 --- a/tweepy/streaming.py +++ b/tweepy/streaming.py @@ -642,8 +642,8 @@ class StreamingClient(BaseClient, BaseStream): add : list[StreamRule] | StreamRule Specifies the operation you want to perform on the rules. dry_run : bool - Set to true to test a the syntax of your rule without submitting - it. This is useful if you want to check the syntax of a rule before + Set to true to test the syntax of your rule without submitting it. + This is useful if you want to check the syntax of a rule before removing one or more of your existing rules. Returns @@ -679,8 +679,8 @@ class StreamingClient(BaseClient, BaseStream): Array of rule IDs, each one representing a rule already active in your stream. IDs must be submitted as strings. dry_run : bool - Set to true to test a the syntax of your rule without submitting - it. This is useful if you want to check the syntax of a rule before + Set to true to test the syntax of your rule without submitting it. + This is useful if you want to check the syntax of a rule before removing one or more of your existing rules. Returns