python-2.1 function attributes
Michael Hudson
mwh21 at cam.ac.uk
Fri Jan 26 09:52:49 EST 2001
"Emile van Sebille" <emile at fenx.com> writes:
> I also like it without the dot, as it opens the door to
> allowing *args and **kwargs style parameter passing
> interpretation.
What would that mean?
def f(*a=1):
print 1
is a syntax error today...
Cheers,
M.
--
ROOSTA: Ever since you arrived on this planet last night you've
been going round telling people that you're Zaphod
Beeblebrox, but that they're not to tell anyone else.
-- The Hitch-Hikers Guide to the Galaxy, Episode 7
More information about the Python-list
mailing list