Skip to content

Commit

Permalink
Correct typo in documentation for add_rules and delete_rules
Browse files Browse the repository at this point in the history
Resolves #1937
  • Loading branch information
Harmon758 committed Aug 18, 2022
1 parent 458fd73 commit 9b636bc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions tweepy/asynchronous/streaming.py
Expand Up @@ -623,8 +623,8 @@ async def add_rules(self, add, **params):
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
Expand Down Expand Up @@ -662,8 +662,8 @@ async def delete_rules(self, ids, **params):
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
Expand Down
8 changes: 4 additions & 4 deletions tweepy/streaming.py
Expand Up @@ -642,8 +642,8 @@ def add_rules(self, add, **params):
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
Expand Down Expand Up @@ -679,8 +679,8 @@ def delete_rules(self, ids, **params):
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
Expand Down

0 comments on commit 9b636bc

Please sign in to comment.