We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb95cc2 commit be0cf82Copy full SHA for be0cf82
Doc/library/typing.rst
@@ -1351,7 +1351,7 @@ These are not used in annotations. They are building blocks for creating generic
1351
Shape = TypeVarTuple('Shape')
1352
class Array(Generic[*Shape]):
1353
def __getitem__(self, key: tuple[*Shape]) -> float: ...
1354
- def __abs__(self) -> Array[*Shape]: ...
+ def __abs__(self) -> "Array[*Shape]": ...
1355
def get_shape(self) -> tuple[*Shape]: ...
1356
1357
Type variable tuples can be happily combined with normal type variables::
0 commit comments