[Python-ideas] Function multiple arguments assignment
Greg Ewing
greg.ewing at canterbury.ac.nz
Tue Mar 22 23:47:30 CET 2011
Paul Moore wrote:
> On 22 March 2011 10:01, Nick Coghlan <ncoghlan at gmail.com> wrote:
>
>>>subprocess.Popen(["exe"], stdin=stdout=stderr=subprocess.PIPE)
Perhaps subprocess.Popen could have a 'default' argument
specifying what to do for unspecified file descriptors.
Then the above could be written
subprocess.Popen(["exe"], default = subprocess.PIPE)
--
Greg
More information about the Python-ideas
mailing list