mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 12:59:46 +00:00
Quote type hints
Otherwise, sphinx completely butchers the documentation.
This commit is contained in:
@@ -137,7 +137,7 @@ class UpdateMethods(UserMethods):
|
||||
return found
|
||||
|
||||
def list_event_handlers(self: 'TelegramClient')\
|
||||
-> typing.Sequence[typing.Tuple[callable, EventBuilder]]:
|
||||
-> 'typing.Sequence[typing.Tuple[callable, EventBuilder]]':
|
||||
"""
|
||||
Lists all registered event handlers.
|
||||
|
||||
|
Reference in New Issue
Block a user