8000 Add missing import in enums_members.py by PetrGolubev · Pull Request #1985 · python/typing · GitHub
[go: up one dir, main page]

Skip to content

Add missing import in enums_members.py #1985

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
Apr 24, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9F14
2 changes: 1 addition & 1 deletion conformance/tests/enums_members.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Specification: https://typing.readthedocs.io/en/latest/spec/enums.html#defining-members

from enum import Enum, member, nonmember
from typing import Literal, assert_type
from typing import Literal, assert_type, reveal_type

# > If an attribute is defined in the class body with a type annotation but
# > with no assigned value, a type checker should assume this is a non-member
Expand Down
0