Skip to content

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

Closed
sobolevn wants to merge 2 commits into
python:masterfrom
sobolevn:issue-11539
Closed

sobolevn wants to merge 2 commits into
python:masterfrom
sobolevn:issue-11539

Conversation

@sobolevn

Copy link
Copy Markdown
Member

Closes #11539

@github-actions

This comment has been minimized.

@emmatyping

Copy link
Copy Markdown
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