PEP 3102 for review and comment

molasses molasses0 at gmail.com
Wed May 24 07:34:14 EDT 2006


I don't mind the naked star and will be happy if thats what we end up with.

Though how about using *None?
I think that makes the intention of the function clearer.

eg.
def compare(a, b, *None, key=None):

Which to me reads as "no further positional arguments".

Or alternatively:
def compare(a, b, *0, key=None):

-- Mark



More information about the Python-list mailing list