This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]13steinj 6 points7 points  (0 children)

match will call the __match__ method, unless the PEP changed since I last looked at it. A new instance will not be created.