Skip to content
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

Enforce positional args for codec functions #12343

Merged
merged 6 commits into from
Jul 15, 2024

Conversation

max-muoto
Copy link
Contributor

Correctly enforce positional arguments for codec functions, this applies to 3.13, and earlier versions.

@max-muoto max-muoto marked this pull request as ready for review July 14, 2024 18:15
@max-muoto max-muoto changed the title Enforce positional args for code functions Enforce positional args for codec functions Jul 14, 2024
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@@ -209,3 +203,11 @@ typing.SupportsAbs.__type_params__
typing.SupportsRound.__type_params__
typing_extensions.SupportsAbs.__type_params__
typing_extensions.SupportsRound.__type_params__

# Runtime incorrectly has `self`
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@srittau srittau merged commit ac3d422 into python:main Jul 15, 2024
63 checks passed
max-muoto added a commit to max-muoto/typeshed that referenced this pull request Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants