Skip to content

builtins: int can accept __trunc__-able #4665

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

Merged
merged 1 commit into from
Oct 14, 2020
Merged

Conversation

hauntsaninja
Copy link
Collaborator

@hauntsaninja
Copy link
Collaborator Author

mypy_primer says this removes one error in the corpus

@srittau srittau merged commit 3a16ebb into python:master Oct 14, 2020
@hauntsaninja hauntsaninja deleted the trunc branch October 25, 2020 00:59
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.

Can't cast from Fraction to int?
2 participants