Skip to content

Add TYPE_CHECKING = True - #279

Closed
gvanrossum wants to merge 1 commit into
masterfrom
type_checking
Closed

gvanrossum wants to merge 1 commit into
masterfrom
type_checking

Conversation

@gvanrossum

Copy link
Copy Markdown
Member

This won't be enough to implement the feature in mypy but at least it's a start.

The constant is False when executing the code, True when analyzing it. See python/typing#234

@gvanrossum

Copy link
Copy Markdown
Member Author

Merged manually.

@gvanrossum gvanrossum closed this Jun 11, 2016
@gvanrossum
gvanrossum deleted the type_checking branch June 11, 2016 00:30
hswong3i pushed a commit to alvistack/python-typeshed that referenced this pull request May 25, 2025
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
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.

1 participant