diff options
author | Geoffrey Gunter <12984092+gmgunter@users.noreply.github.com> | 2022-03-14 11:43:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-14 11:43:44 -0700 |
commit | 71e7620711d6ff8cb838bdffb5e91cdd25497dba (patch) | |
tree | 70b46073760f6cd978909afd25d87158622fda63 /numpy/typing/_char_codes.py | |
parent | fc9044863d270ab4047b6a13b55278bdf31f680c (diff) | |
download | numpy-71e7620711d6ff8cb838bdffb5e91cdd25497dba.tar.gz |
ENH: Add 'ulong' to sctypeDict (#21151)
* ENH: Add 'ulong' to sctypeDict
Closes #21063
* TST: Add a test for np.dtype("ulong")
* REV: Don't add new attribute np.ulong
Diffstat (limited to 'numpy/typing/_char_codes.py')
-rw-r--r-- | numpy/typing/_char_codes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/typing/_char_codes.py b/numpy/typing/_char_codes.py index 139471084..f840d17bb 100644 --- a/numpy/typing/_char_codes.py +++ b/numpy/typing/_char_codes.py @@ -30,7 +30,7 @@ _UByteCodes = Literal["ubyte", "B", "=B", "<B", ">B"] _UShortCodes = Literal["ushort", "H", "=H", "<H", ">H"] _UIntCCodes = Literal["uintc", "I", "=I", "<I", ">I"] _UIntPCodes = Literal["uintp", "uint0", "P", "=P", "<P", ">P"] -_UIntCodes = Literal["uint", "L", "=L", "<L", ">L"] +_UIntCodes = Literal["ulong", "uint", "L", "=L", "<L", ">L"] _ULongLongCodes = Literal["ulonglong", "Q", "=Q", "<Q", ">Q"] _HalfCodes = Literal["half", "e", "=e", "<e", ">e"] |