summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2020-01-20 22:46:38 (GMT)
committerGitHub <noreply@github.com>2020-01-20 22:46:38 (GMT)
commit2c49becc69c05934996a00b902e4a4f089b91954 (patch)
treee876ce377722ee930fb83847709079288f71e0f1 /Misc
parent1e420f849d0c094098543d2c27d35eaec69b2784 (diff)
downloadcpython-2c49becc69c05934996a00b902e4a4f089b91954.zip
cpython-2c49becc69c05934996a00b902e4a4f089b91954.tar.gz
cpython-2c49becc69c05934996a00b902e4a4f089b91954.tar.bz2
Fix asyncio.get_event_loop() documentation (GH-18051)
Mention that the function implicitly creates new event loop only if called from the main thread.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Documentation/2020-01-18-15-37-56.bpo-39381.wTWe8d.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Documentation/2020-01-18-15-37-56.bpo-39381.wTWe8d.rst b/Misc/NEWS.d/next/Documentation/2020-01-18-15-37-56.bpo-39381.wTWe8d.rst
new file mode 100644
index 0000000..37b66ad
--- /dev/null
+++ b/Misc/NEWS.d/next/Documentation/2020-01-18-15-37-56.bpo-39381.wTWe8d.rst
@@ -0,0 +1,2 @@
+Mention in docs that :func:`asyncio.get_event_loop` implicitly creates new
+event loop only if called from the main thread.