Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
b23a8423
Commit
b23a8423
authored
Oct 04, 2019
by
idomic
Committed by
Yury Selivanov
Oct 03, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-34344 Fix AbstractEventLoopPolicy.get_event_loop docstring (GH-16463)
parent
353fb1ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Lib/asyncio/events.py
Lib/asyncio/events.py
+2
-2
No files found.
Lib/asyncio/events.py
View file @
b23a8423
...
...
@@ -630,9 +630,9 @@ class BaseDefaultEventLoopPolicy(AbstractEventLoopPolicy):
self
.
_local
=
self
.
_Local
()
def
get_event_loop
(
self
):
"""Get the event loop.
"""Get the event loop
for the current context
.
This may be None or an instance of EventLoop
.
Returns an instance of EventLoop or raises an exception
.
"""
if
(
self
.
_local
.
_loop
is
None
and
not
self
.
_local
.
_set_called
and
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment