a few more __all__ lists

This commit is contained in:
Skip Montanaro 2001-02-07 23:14:30 +00:00
parent cc012e92b2
commit 352674d01c
5 changed files with 16 additions and 2 deletions

View file

@ -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"