mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
a few more __all__ lists
This commit is contained in:
parent
cc012e92b2
commit
352674d01c
5 changed files with 16 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue