Skip to content

Now Type[None].__bool__ is a thing, refs #11539 #11551

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
wants to merge 2 commits into from
Closed

Now Type[None].__bool__ is a thing, refs #11539 #11551

wants to merge 2 commits into from

Conversation

sobolevn
Copy link
Member

Closes #11539

@github-actions

This comment has been minimized.

@emmatyping
Copy link
Member

Thank you for proposing this change, but I am closing this. I think we should probably use _typeshed.NoneType or types.NoneType in 3.10+ (which _typeshed.NoneType already handles)

@emmatyping emmatyping closed this Jun 8, 2022
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.

error: "Type[None]" has no attribute "__bool__"
2 participants