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 14a7534 commit 495dfe3Copy full SHA for 495dfe3
crates/ty_python_semantic/resources/mdtest/libraries/numpy.md
@@ -44,9 +44,6 @@ class _SupportsDType(Protocol[_DTypeT_co]):
44
@property
45
def dtype(self) -> _DTypeT_co: ...
46
47
-# TODO: no errors here
48
-# error: [invalid-type-arguments] "Type `typing.TypeVar` is not assignable to upper bound `generic[Any]` of type variable `_ScalarT_co@dtype`"
49
50
_DTypeLike: TypeAlias = type[_ScalarT] | dtype[_ScalarT] | _SupportsDType[dtype[_ScalarT]]
51
52
DTypeLike: TypeAlias = _DTypeLike[Any] | str | None
0 commit comments