8000 Rename `_handler.py` to `_basehandler.py` (#3761) · Devors/python-telegram-bot@b0cff31 · GitHub
[go: up one dir, main page]

Skip to content

Commit b0cff31

Browse files
authored
Rename _handler.py to _basehandler.py (python-telegram-bot#3761)
1 parent 3c87e45 commit b0cff31

20 files changed

+20
-20
lines changed

telegram/ext/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
from ._aioratelimiter import AIORateLimiter
6464
from ._application import Application, ApplicationHandlerStop
6565
from ._applicationbuilder import ApplicationBuilder
66+
from ._basehandler import BaseHandler
6667
from ._basepersistence import BasePersistence, PersistenceInput
6768
from ._baseratelimiter import BaseRateLimiter
6869
from ._baseupdateprocessor import BaseUpdateProcessor, SimpleUpdateProcessor
@@ -78,7 +79,6 @@
7879
from ._defaults import Defaults
7980
from ._dictpersistence import DictPersistence
8081
from ._extbot import ExtBot
81-
from ._handler import BaseHandler
8282
from ._inlinequeryhandler import InlineQueryHandler
8383
from ._jobqueue import Job, JobQueue
8484
from ._messagehandler import MessageHandler

telegram/ext/_application.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@
5656
from telegram._utils.types import SCT, DVType, ODVInput
5757
from telegram._utils.warnings import warn
5858
from telegram.error import TelegramError
59+
from telegram.ext._basehandler import BaseHandler
5960
from telegram.ext._basepersistence import BasePersistence
6061
from telegram.ext._baseupdateprocessor import BaseUpdateProcessor
6162
from telegram.ext._contexttypes import ContextTypes
6263
from telegram.ext._extbot import ExtBot
63-
from telegram.ext._handler import BaseHandler
6464
from telegram.ext._updater import Updater
6565
from telegram.ext._utils.stack import was_called_by
6666
from telegram.ext._utils.trackingdict import TrackingDict

telegram/ext/_handler.py renamed to telegram/ext/_basehandler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ async def callback(update: Update, context: CallbackContext)
7878
7979
Attributes:
8080
callback (:term:`coroutine function`): The callback function for this handler.
81-
block (:obj:`bool`): Determines whether the callback will run in a blocking way..
81+
block (:obj:`bool`): Determines whether the callback will run in a blocking way.
8282
8383
"""
8484

telegram/ext/_callbackqueryhandler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from telegram import Update
2525
from telegram._utils.defaultvalue import DEFAULT_TRUE
2626
from telegram._utils.types import DVType
27-
from telegram.ext._handler import BaseHandler
27+
from telegram.ext._basehandler import BaseHandler
2828
from telegram.ext._utils.types import CCT, HandlerCallback
2929

3030
if TYPE_CHECKING:

telegram/ext/_chatjoinrequesthandler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from telegram import Update
2424
from telegram._utils.defaultvalue import DEFAULT_TRUE
2525
from telegram._utils.types import RT, SCT, DVType
26-
from telegram.ext._handler import BaseHandler
26+
from telegram.ext._basehandler import BaseHandler
2727
from telegram.ext._utils.types import CCT, HandlerCallback
2828

2929

telegram/ext/_chatmemberhandler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
from telegram import Update
2323
from telegram._utils.defaultvalue import DEFAULT_TRUE
2424
from telegram._utils.types import DVType
25-
from telegram.ext._handler import BaseHandler
25+
from telegram.ext._basehandler import BaseHandler
2626
from telegram.ext._utils.types import CCT, HandlerCallback
2727

2828
RT = TypeVar("RT")

telegram/ext/_choseninlineresulthandler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from telegram import Update
2424
from telegram._utils.defaultvalue import DEFAULT_TRUE
2525
from telegram._utils.types import DVType
26-
from telegram.ext._handler import BaseHandler
26+
from telegram.ext._basehandler import BaseHandler
2727
from telegram.ext._utils.types import CCT, HandlerCallback
2828

2929
RT = TypeVar("RT")

telegram/ext/_commandhandler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from telegram._utils.defaultvalue import DEFAULT_TRUE
2525
from telegram._utils.types import SCT, DVType
2626
from telegram.ext import filters as filters_module
27-
from telegram.ext._handler import BaseHandler
27+
from telegram.ext._basehandler import BaseHandler
2828
from telegram.ext._utils.types import CCT, FilterDataDict, HandlerCallback
2929

3030
if TYPE_CHECKING:

telegram/ext/_conversationhandler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141
from telegram._utils.types import DVType
4242
from telegram._utils.warnings import warn
4343
from telegram.ext._application import ApplicationHandlerStop
44+
from telegram.ext._basehandler import BaseHandler
4445
from telegram.ext._callbackqueryhandler import CallbackQueryHandler
4546
from telegram.ext._choseninlineresulthandler import ChosenInlineResultHandler
4647
from telegram.ext._extbot import ExtBot
47-
from telegram.ext._handler import BaseHandler
4848
from telegram.ext._inlinequeryhandler import InlineQueryHandler
4949
from telegram.ext._stringcommandhandler import StringCommandHandler
5050
from telegram.ext._stringregexhandler import StringRegexHandler

telegram/ext/_inlinequeryhandler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from telegram import Update
2424
from telegram._utils.defaultvalue import DEFAULT_TRUE
2525
from telegram._utils.types import DVType
26-
from telegram.ext._handler import BaseHandler
26+
from telegram.ext._basehandler import BaseHandler
2727
from telegram.ext._utils.types import CCT, HandlerCallback
2828

2929
if TYPE_CHECKING:

0 commit comments

Comments
 (0)
0