[Python-ideas] parameter omit

Aaron Brady castironpi at comcast.net
Wed May 9 22:22:40 CEST 2007


Is it possible to signal to a parameter to use its default?

 

def f( a, b=None, c='' ):...

 

f( 123, <def>, 'abc' )

f( 123, ObjA, <def> )

 

Did I miss something, plus did you cover it before?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20070509/a32dac3b/attachment.html>


More information about the Python-ideas mailing list