diff options
author | Josh Wilson <person142@users.noreply.github.com> | 2020-06-10 21:29:45 -0700 |
---|---|---|
committer | Josh Wilson <person142@users.noreply.github.com> | 2020-06-10 21:31:23 -0700 |
commit | 4df89d13e64c23205504cebe25750fade41e2daa (patch) | |
tree | 9167d5a4ffe4dd0fcc34790a4efac75fe7888117 /numpy/tests | |
parent | 68ebc2bad1ad6a99e9939eff205a1a6d936cf4fd (diff) | |
download | numpy-4df89d13e64c23205504cebe25750fade41e2daa.tar.gz |
MAINT: fix name of first parameter to dtype constructor in type stubs
The first parameter to the constructor is currently called "obj",
which is incorrect. It should instead be "dtype".
Diffstat (limited to 'numpy/tests')
-rw-r--r-- | numpy/tests/typing/pass/dtype.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/tests/typing/pass/dtype.py b/numpy/tests/typing/pass/dtype.py new file mode 100644 index 000000000..f954fdd44 --- /dev/null +++ b/numpy/tests/typing/pass/dtype.py @@ -0,0 +1,3 @@ +import numpy as np + +np.dtype(dtype=np.int64) |