Skip to content

Commit

Permalink
Some retouch
Browse files Browse the repository at this point in the history
  • Loading branch information
achimnol committed Dec 21, 2023
1 parent e68cad0 commit 353c00b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
aiomonitor's documentation!
===========================

**aiomonitor** is Python 3.5+ module that adds monitor and cli capabilities
**aiomonitor** is Python 3.8+ module that adds monitor and cli capabilities
for asyncio_ application. Idea and code borrowed from curio_ project.
Task monitor that runs concurrently to the :mod:`asyncio` loop (or fast drop in
replacement uvloop_) in a separate thread. This can inspect the loop and
Expand Down
3 changes: 3 additions & 0 deletions docs/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ Basic aiohttp server
with aiomonitor.start_monitor(loop):
await web._run_app(app, port=20101, host="localhost")
if __name__ == "__main__":
asyncio.run(main())
Lets save this code in file ``simple_srv.py``, so we can run it with command::

$ python simple_srv.py
Expand Down

0 comments on commit 353c00b

Please sign in to comment.