summaryrefslogtreecommitdiff
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-01-20 14:52:35 -0800
committerGitHub <noreply@github.com>2020-01-20 14:52:35 -0800
commit6aeed01901d020363e383821b38614816d0b4032 (patch)
treebfc53496de361eb77ae19123e7033371163d9e5b /Misc
parent4cdb75890abd4ee7694744d5c24248f6735b0534 (diff)
downloadcpython-git-6aeed01901d020363e383821b38614816d0b4032.tar.gz
Fix asyncio.get_event_loop() documentation (GH-18051)
Mention that the function implicitly creates new event loop only if called from the main thread. (cherry picked from commit 2c49becc69c05934996a00b902e4a4f089b91954) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
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 0000000000..37b66ad9df
--- /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.