Skip to content

Commit 8866a74

Browse files
committed
Fix spelling: an handler -> a handler
Thanks @rastamanjohn for the hint
1 parent 5975a41 commit 8866a74

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/source/api/handlers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Update Handlers
44
Handlers are used to instruct Pyrogram about which kind of updates you'd like to handle with your callback functions.
55

66
For a much more convenient way of registering callback functions have a look at `Decorators <Decorators.html>`_ instead.
7-
In case you decided to manually create an handler, use :meth:`add_handler() <pyrogram.Client.add_handler>` to register
7+
In case you decided to manually create a handler, use :meth:`add_handler() <pyrogram.Client.add_handler>` to register
88
it.
99

1010
.. code-block:: python

docs/source/start/updates.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ using `Handlers <../api/handlers>`_.
1515
Each handler deals with a specific event and once a matching update arrives from Telegram, your registered callback
1616
function will be called back by the framework and its body executed.
1717

18-
Registering an Handler
19-
----------------------
18+
Registering a Handler
19+
---------------------
2020

2121
To explain how handlers work let's have a look at the most used one, the
2222
:obj:`MessageHandler <pyrogram.MessageHandler>`, which will be in charge for handling :obj:`Message <pyrogram.Message>`

0 commit comments

Comments
 (0)