PEP 3102 for review and comment

molasses molasses0 at
Wed May 24 13:34:14 CEST 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.

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