Skip to content

Conversation

@jsaponara
Copy link
Contributor

The current example allows the reader to wonder whether the match_args names must match the init args or the class members. This change explicitly shows that class member names are searched for the match_args items (admittedly at the cost of some clutter).

The current example allows the reader to wonder whether the __match_args__ names must match the __init__ args or the class members.  This change explicitly shows that class member names are searched for the __match_args__ items (admittedly at the cost of some clutter).
Thx Guido, that reduces the clutter.

Co-authored-by: Guido van Rossum <[email protected]>
Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix the next two lines too please :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants