Delete many redundant method redefinitions (#6877)

This commit is contained in:
Alex Waygood
2022-01-09 19:21:03 +00:00
committed by GitHub
parent bb6a6e3421
commit 4e046163b5
26 changed files with 0 additions and 50 deletions

View File

@@ -113,8 +113,6 @@ class Enum(metaclass=EnumMeta):
@staticmethod
def _generate_next_value_(name: str, start: int, count: int, last_values: list[Any]) -> Any: ...
def __new__(cls: type[_T], value: object) -> _T: ...
def __repr__(self) -> str: ...
def __str__(self) -> str: ...
def __dir__(self) -> list[str]: ...
def __format__(self, format_spec: str) -> str: ...
def __hash__(self) -> Any: ...
@@ -159,8 +157,6 @@ class Flag(Enum):
@types.DynamicClassAttribute
def value(self) -> int: ...
def __contains__(self: _T, other: _T) -> bool: ...
def __repr__(self) -> str: ...
def __str__(self) -> str: ...
def __bool__(self) -> bool: ...
def __or__(self: _T, other: _T) -> _T: ...
def __and__(self: _T, other: _T) -> _T: ...