File manager - Edit - /usr/local/lib/python3.9/dist-packages/numpy/typing/tests/data/reveal/false_positives.pyi
Back
import sys from typing import Any import numpy as np import numpy.typing as npt if sys.version_info >= (3, 11): from typing import assert_type else: from typing_extensions import assert_type AR_Any: npt.NDArray[Any] # Mypy bug where overload ambiguity is ignored for `Any`-parametrized types; # xref numpy/numpy#20099 and python/mypy#11347 # # The expected output would be something akin to `npt.NDArray[Any]` assert_type(AR_Any + 2, npt.NDArray[np.signedinteger[Any]])
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.74 |
proxy
|
phpinfo
|
Settings