[Python-Dev] PEP 3102: Keyword-only arguments

Aahz aahz at pythoncraft.com
Mon May 8 23:15:08 CEST 2006


On Sun, May 07, 2006, BJ?rn Lindqvist wrote:
>
> I do know enough about Python to know that the make_person function is
> a really bad example. The one obvious way to write make_peson is to
> use four positional arguments, name, age, phone, location and not
> complicate the function by throwing in required keyword arguments. It
> would be nice to instead see some real examples of the usefulness of
> the required keyword-only arguments. 

See previous discussion about super() -- I don't have time to look up
examples right now.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"Argue for your limitations, and sure enough they're yours."  --Richard Bach


More information about the Python-Dev mailing list