From 9b636bc529687dbd993bb1aef0177ee78afdabec Mon Sep 17 00:00:00 2001 From: Harmon Date: Thu, 18 Aug 2022 09:13:54 -0500 Subject: [PATCH] Correct typo in documentation for add_rules and delete_rules Resolves #1937 --- tweepy/asynchronous/streaming.py | 8 ++++---- tweepy/streaming.py | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) 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 -- 2.25.1