whoami7 - Manager
:
/
opt
/
cloudlinux
/
venv
/
lib64
/
python3.11
/
site-packages
/
numpy
/
typing
/
tests
/
data
/
fail
/
Upload File:
files >> //opt/cloudlinux/venv/lib64/python3.11/site-packages/numpy/typing/tests/data/fail/dtype.pyi
import numpy as np class Test1: not_dtype = np.dtype(float) class Test2: dtype = float np.dtype(Test1()) # E: No overload variant of "dtype" matches np.dtype(Test2()) # E: incompatible type np.dtype( # E: No overload variant of "dtype" matches { "field1": (float, 1), "field2": (int, 3), } )
Copyright ©2021 || Defacer Indonesia