Skip to content

Add missing __replace__ dunders for 3.13 #12263

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
max-muoto opened this issue Jul 3, 2024 · 1 comment
Closed

Add missing __replace__ dunders for 3.13 #12263

max-muoto opened this issue Jul 3, 2024 · 1 comment
Labels
stubs: incomplete Annotations or sub-modules missing from an existing package or module

Comments

@max-muoto
Copy link
Contributor

max-muoto commented Jul 3, 2024

3.13 adds __replace__ as a dunder on a variety of classes, which is used by the new copy.replace. See here for more details.

@srittau srittau added the stubs: incomplete Annotations or sub-modules missing from an existing package or module label Jul 3, 2024
@max-muoto
Copy link
Contributor Author

Fixed by #12265 we can remove the other errors once the next version of MyPy is released and we get this change in: python/mypy#17469

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stubs: incomplete Annotations or sub-modules missing from an existing package or module
Projects
None yet
Development

No branches or pull requests

2 participants