Skip to content

Commit

Permalink
Readme fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mosquito committed Mar 16, 2023
1 parent b6e1ee3 commit 7578731
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Development - Stable
Features
--------

* Since version 2.0.0 using `caio`_, is contain linux libaio and two
* Since version 2.0.0 using `caio`_, is contain linux ``libaio`` and two
thread-based implementations (c-based and pure-python).
* AIOFile has no internal pointer. You should pass ``offset`` and
``chunk_size`` for each operation or use helpers (Reader or Writer).
Expand Down Expand Up @@ -460,16 +460,8 @@ Async CSV Dict Reader
print(item)
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
asyncio.run(main())
try:
loop.run_until_complete(main())
finally:
# Shutting down and closing file descriptors after interrupt
loop.run_until_complete(loop.shutdown_asyncgens())
loop.close()
.. _troubleshooting:

Expand Down

0 comments on commit 7578731

Please sign in to comment.