Add __repr__ Methods Added in #3826 to Sphinx Documentation (#3901)

This commit is contained in:
Dmitry K 2023-09-26 20:18:12 +03:00 committed by GitHub
parent 7adb4fa2db
commit 1ef242a17e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 8 additions and 2 deletions

View file

@ -4,4 +4,4 @@ Bot
.. autoclass:: telegram.Bot .. autoclass:: telegram.Bot
:members: :members:
:show-inheritance: :show-inheritance:
:special-members: __reduce__, __deepcopy__ :special-members: __repr__, __reduce__, __deepcopy__

View file

@ -4,3 +4,4 @@ Application
.. autoclass:: telegram.ext.Application .. autoclass:: telegram.ext.Application
:members: :members:
:show-inheritance: :show-inheritance:
:special-members: __repr__

View file

@ -4,3 +4,4 @@ BaseHandler
.. autoclass:: telegram.ext.BaseHandler .. autoclass:: telegram.ext.BaseHandler
:members: :members:
:show-inheritance: :show-inheritance:
:special-members: __repr__

View file

@ -4,3 +4,4 @@ ConversationHandler
.. autoclass:: telegram.ext.ConversationHandler .. autoclass:: telegram.ext.ConversationHandler
:members: :members:
:show-inheritance: :show-inheritance:
:special-members: __repr__

View file

@ -4,3 +4,4 @@ ExtBot
.. autoclass:: telegram.ext.ExtBot .. autoclass:: telegram.ext.ExtBot
:show-inheritance: :show-inheritance:
:members: insert_callback_data, defaults, rate_limiter, initialize, shutdown, callback_data_cache :members: insert_callback_data, defaults, rate_limiter, initialize, shutdown, callback_data_cache
:special-members: __repr__

View file

@ -4,4 +4,4 @@ Job
.. autoclass:: telegram.ext.Job .. autoclass:: telegram.ext.Job
:members: :members:
:show-inheritance: :show-inheritance:
:special-members: __call__ :special-members: __call__, __repr__

View file

@ -4,3 +4,4 @@ JobQueue
.. autoclass:: telegram.ext.JobQueue .. autoclass:: telegram.ext.JobQueue
:members: :members:
:show-inheritance: :show-inheritance:
:special-members: __repr__

View file

@ -4,3 +4,4 @@ Updater
.. autoclass:: telegram.ext.Updater .. autoclass:: telegram.ext.Updater
:members: :members:
:show-inheritance: :show-inheritance:
:special-members: __repr__