To me match also sound confusing as a keyword. You don't match things to cases
in English.
Maybe match x: against 1? https://idioms.thefreedictionary.com/match+against
match point:
against (x, 1):
...
against (1, y):
...
Better yet it feels to me to have:
handle point:
as (x, 1):
...
as (1, y):
...
as None:
...
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/LGPOSO6L2GUFMR2RZ6YMAECGG4TMPIZD/
Code of Conduct: http://python.org/psf/codeofconduct/