Skip to content

Commit

Permalink
README: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
eriknyquist committed Aug 7, 2023
1 parent a7c6b27 commit 682b04c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ user with the word "bot" in their username.
Using bitwise AND/OR operators to create ``FilterCollection`` classes
---------------------------------------------------------------------

Instead of creating FilterCollection class directly, you can instead use bitwise AND ``&``
Instead of creating FilterCollection classes directly, you can instead use bitwise AND ``&``
and bitwise OR ``|`` to combine filter objects.

For example, this code uses the bitwise OR operator to create a filter that matches any
Expand Down Expand Up @@ -303,7 +303,7 @@ directly instead:
).set_match_type(MatchType.ANY).on_match(match_handler)
Finally, here is a slightly more complex example, which uses both bitwise AND / OR
operators to create a filter that matches any IPv6 or IPv6 address, *and* a specific
operators together to create a filter that matches any IPv4 or IPv6 address, *and* a specific
page URL:

.. code:: python
Expand Down

0 comments on commit 682b04c

Please sign in to comment.