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
8c1a4a23
Commit
8c1a4a23
authored
Jan 06, 2015
by
Victor Stinner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #23046: Expose the BaseEventLoop class in the asyncio namespace
parent
63b55580
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
Lib/asyncio/__init__.py
Lib/asyncio/__init__.py
+3
-1
Lib/asyncio/base_events.py
Lib/asyncio/base_events.py
+1
-1
No files found.
Lib/asyncio/__init__.py
View file @
8c1a4a23
...
...
@@ -18,6 +18,7 @@ if sys.platform == 'win32':
import
_overlapped
# Will also be exported.
# This relies on each of the submodules having an __all__ variable.
from
.base_events
import
*
from
.coroutines
import
*
from
.events
import
*
from
.futures
import
*
...
...
@@ -29,7 +30,8 @@ from .subprocess import *
from
.tasks
import
*
from
.transports
import
*
__all__
=
(
coroutines
.
__all__
+
__all__
=
(
base_events
.
__all__
+
coroutines
.
__all__
+
events
.
__all__
+
futures
.
__all__
+
locks
.
__all__
+
...
...
Lib/asyncio/base_events.py
View file @
8c1a4a23
...
...
@@ -35,7 +35,7 @@ from .coroutines import coroutine
from
.log
import
logger
__all__
=
[
'BaseEventLoop'
,
'Server'
]
__all__
=
[
'BaseEventLoop'
]
# Argument for default thread pool executor creation.
...
...
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