Idiom for default values when unpacking a tuple

Paul McGuire ptmcg at austin.rr._bogus_.com
Tue Nov 16 13:00:38 EST 2004


"Jeff Epler" <jepler at unpythonic.net> wrote in message
news:mailman.6434.1100624680.5135.python-list at python.org...

So is there any easy way for the pad function to figure out for itself that
the target length is 3, without my having to tell it so?

-- Paul





More information about the Python-list mailing list