Correct typo in documentation for add_rules and delete_rules
authorHarmon <Harmon758@gmail.com>
Thu, 18 Aug 2022 14:13:54 +0000 (09:13 -0500)
committerHarmon <Harmon758@gmail.com>
Thu, 18 Aug 2022 14:13:54 +0000 (09:13 -0500)
Resolves #1937

tweepy/asynchronous/streaming.py
tweepy/streaming.py

index 25a544b8a40a290f321cc6b80ebf0cd334bdecea..0f374c0934943f639ceb685b368f28727ad3eaac 100644 (file)
@@ -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
index 2fff7812bab162b4c1aa857a88e09fd99006d62d..3ba87f3c7e02b28eae7c103ea129d798eb2ce206 100644 (file)
@@ -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