|
|
Subscribe / Log in / New account

match using "case Point2d(x,y):"

match using "case Point2d(x,y):"

Posted Jul 1, 2021 13:02 UTC (Thu) by bluss (guest, #47454)
In reply to: match using "case Point2d(x,y):" by samlh
Parent article: New features and other changes in Python 3.10

Python 2.x had tuple unpacking in arguments, but it has been removed since then. https://www.python.org/dev/peps/pep-3113/


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds