summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-02-01 22:25:41 +0100
committerVictor Stinner <victor.stinner@gmail.com>2014-02-01 22:25:41 +0100
commita571ad5c9a8679f27b7315c4f9b143165d5170c7 (patch)
tree4008a72ee8552145f1ae5cf7a66ca904bf61f22c
parent83c25860731a1d12ee0b0faf906b818632f83489 (diff)
downloadtrollius-a571ad5c9a8679f27b7315c4f9b143165d5170c7.tar.gz
Restore __all__ of asyncio.subprocess
-rw-r--r--asyncio/__init__.py4
-rw-r--r--asyncio/subprocess.py3
2 files changed, 3 insertions, 4 deletions
diff --git a/asyncio/__init__.py b/asyncio/__init__.py
index e5a4753..3df2f80 100644
--- a/asyncio/__init__.py
+++ b/asyncio/__init__.py
@@ -24,7 +24,7 @@ from .locks import *
from .protocols import *
from .queues import *
from .streams import *
-from .subprocess import create_subprocess_exec, create_subprocess_shell
+from .subprocess import *
from .tasks import *
from .transports import *
@@ -40,6 +40,6 @@ __all__ = (events.__all__ +
protocols.__all__ +
queues.__all__ +
streams.__all__ +
- ['create_subprocess_exec', 'create_subprocess_shell'] +
+ subprocess.__all__ +
tasks.__all__ +
transports.__all__)
diff --git a/asyncio/subprocess.py b/asyncio/subprocess.py
index 60ef3b6..6c4ded3 100644
--- a/asyncio/subprocess.py
+++ b/asyncio/subprocess.py
@@ -1,5 +1,4 @@
-__all__ = ['create_subprocess_exec', 'create_subprocess_shell',
- 'PIPE', 'STDOUT', 'DEVNULL']
+__all__ = ['create_subprocess_exec', 'create_subprocess_shell']
import collections
import subprocess