diff --git a/stdlib/enum.pyi b/stdlib/enum.pyi index b5549253a..1ab8ea5a0 100644 --- a/stdlib/enum.pyi +++ b/stdlib/enum.pyi @@ -58,6 +58,8 @@ class auto(IntFlag): def __new__(cls: Type[_T]) -> _T: ... class Flag(Enum): + name: str | None # type: ignore + value: int def __contains__(self: _T, other: _T) -> bool: ... def __repr__(self) -> str: ... def __str__(self) -> str: ...