Henk-Jaap Wagenaar wrote:
> The not binding is there only to allow the main way in which "_" is special 
> in match/case: ...

The non-binding behavior is useful in other ways:

match range(HUGE_INT):
    case [*_, last]:
        print(last)
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/2BYZQUCYIJKJSS6DRDVLRWI5B767S6ZO/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to