diff --git a/docs/source/start/Usage.rst b/docs/source/start/Usage.rst index 4809df0b..6c1697b9 100644 --- a/docs/source/start/Usage.rst +++ b/docs/source/start/Usage.rst @@ -26,7 +26,9 @@ Here's a simple example: app.stop() -You can also use the Client instance in a context manager with the ``with`` statement: +You can also use Pyrogram in a context manager with the ``with`` statement. The Client will automatically +:meth:`start ` and :meth:`stop ` gracefully, even in case of unhandled +exceptions in your code: .. code-block:: python