mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Merge 3.4 (asyncio doc)
This commit is contained in:
commit
fc37abf3ee
1 changed files with 11 additions and 0 deletions
|
@ -372,3 +372,14 @@ traceback where the task was created. Example of log in debug mode::
|
|||
|
||||
:ref:`Detect coroutine objects never scheduled <asyncio-coroutine-not-scheduled>`.
|
||||
|
||||
|
||||
Close transports
|
||||
----------------
|
||||
|
||||
When a transport is no more needed, call its ``close()`` method to release
|
||||
resources.
|
||||
|
||||
If a transport (or an event loop) is not closed explicitly, a
|
||||
:exc:`ResourceWarning` warning will be emitted in its destructor. The
|
||||
:exc:`ResourceWarning` warnings are hidden by default: use the ``-Wd`` command
|
||||
line option of Python to show them.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue