Skip to content

Commit 9d623dd

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
1 parent f2c2540 commit 9d623dd

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

stdlib/typing.pyi

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,25 +1133,12 @@ if sys.version_info >= (3, 10):
11331133
def _type_repr(obj: object) -> str: ...
11341134

11351135
if sys.version_info >= (3, 12):
1136-
_TypeVariable: TypeAlias = (
1137-
TypeVar
1138-
| typing_extensions.TypeVar
1139-
| ParamSpec
1140-
| typing_extensions.ParamSpec
1141-
| TypeVarTuple
1142-
| typing_extensions.TypeVarTuple
1143-
)
1136+
_TypeVariable: TypeAlias = ...
11441137

11451138
def override(method: _F, /) -> _F: ...
11461139
@final
11471140
class TypeAliasType:
1148-
def __new__(
1149-
cls,
1150-
name: str,
1151-
value: Any,
1152-
*,
1153-
type_params: tuple[_TypeVariable, ...] = (),
1154-
) -> Self: ...
1141+
def __new__(cls, name: str, value: Any, *, type_params: tuple[_TypeVariable, ...] = ()) -> Self: ...
11551142
@property
11561143
def __value__(self) -> Any: ... # AnnotationForm
11571144
@property

0 commit comments

Comments
 (0)