Skip to content

Conversation

hamdanal
Copy link
Collaborator

It exists at runtime.

Fixes #15748

Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions
Copy link
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@AlexWaygood AlexWaygood added topic-match-statement Python 3.10's match statement topic-dataclasses labels Jul 22, 2023
Copy link
Collaborator

@hauntsaninja hauntsaninja left a comment

Choose a reason for hiding this comment

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

Thanks!

@hauntsaninja hauntsaninja merged commit d2022a0 into python:master Jul 22, 2023
@hamdanal hamdanal deleted the dataclass-matchargs branch July 23, 2023 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic-dataclasses topic-match-statement Python 3.10's match statement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

__match_args__ is not added to dataclasses with no fields
3 participants