summaryrefslogtreecommitdiffstats
path: root/Lib/popen2.py
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2001-02-07 23:14:30 (GMT)
committerSkip Montanaro <skip@pobox.com>2001-02-07 23:14:30 (GMT)
commit352674d01cd37cc8621e8b94c1a91fef5ffc16fe (patch)
treef0f8071d7c55a89eddd438b9dfe1c16481145cd9 /Lib/popen2.py
parentcc012e92b21fbd8476bbaa8d4aa91b7e78111182 (diff)
downloadcpython-352674d01cd37cc8621e8b94c1a91fef5ffc16fe.zip
cpython-352674d01cd37cc8621e8b94c1a91fef5ffc16fe.tar.gz
cpython-352674d01cd37cc8621e8b94c1a91fef5ffc16fe.tar.bz2
a few more __all__ lists
Diffstat (limited to 'Lib/popen2.py')
-rw-r--r--Lib/popen2.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/popen2.py b/Lib/popen2.py
index e1bf363..954eb29 100644
--- a/Lib/popen2.py
+++ b/Lib/popen2.py
@@ -9,6 +9,8 @@ and popen3(cmd) which return two or three pipes to the spawned command.
import os
import sys
+__all__ = ["popen2", "popen3", "popen4"]
+
MAXFD = 256 # Max number of file descriptors (os.getdtablesize()???)
_active = []
@@ -155,7 +157,8 @@ else:
inst = Popen4(cmd, bufsize)
return inst.fromchild, inst.tochild
-
+ __all__.extend(["Popen3", "Popen4"])
+
def _test():
cmd = "cat"
teststr = "ab cd\n"