From f20953f7a9d1634710b0ec9ee6a41a4c50dcd4dd Mon Sep 17 00:00:00 2001 From: Iulian Onofrei <6d0847b9@opayq.com> Date: Mon, 30 Mar 2020 00:32:06 +0300 Subject: [PATCH] Fix docs wording (#1855) --- telegram/ext/filters.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/telegram/ext/filters.py b/telegram/ext/filters.py index d7b5dba00..98b42fe84 100644 --- a/telegram/ext/filters.py +++ b/telegram/ext/filters.py @@ -50,7 +50,7 @@ class BaseFilter(object): >>> Filters.text & (~ Filters.forwarded) Note: - Filters use the same short circuiting logic that pythons `and`, `or` and `not`. + Filters use the same short circuiting logic as python's `and`, `or` and `not`. This means that for example: >>> Filters.regex(r'(a?x)') | Filters.regex(r'(b?x)') @@ -368,7 +368,7 @@ class Filters(object): if you need to specify flags on your pattern. Note: - Filters use the same short circuiting logic that pythons `and`, `or` and `not`. + Filters use the same short circuiting logic as python's `and`, `or` and `not`. This means that for example: >>> Filters.regex(r'(a?x)') | Filters.regex(r'(b?x)')