diff options
author | Kevin Sheppard <kevin.k.sheppard@gmail.com> | 2021-02-12 12:02:35 +0000 |
---|---|---|
committer | Kevin Sheppard <kevin.k.sheppard@gmail.com> | 2021-02-12 12:02:35 +0000 |
commit | 7af8020bcb805201bd90076792a0d09246138578 (patch) | |
tree | 9aa91f76c091ed3570684cf4488418839edc9c07 /numpy/typing/_char_codes.py | |
parent | 5ca0ef6272ef3eabe2feb4049b7cb05a52516495 (diff) | |
download | numpy-7af8020bcb805201bd90076792a0d09246138578.tar.gz |
BUG: Fix typo in char_codes
Add missing comma in lists of char codes
Diffstat (limited to 'numpy/typing/_char_codes.py')
-rw-r--r-- | numpy/typing/_char_codes.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/typing/_char_codes.py b/numpy/typing/_char_codes.py index 143644e88..6b6f7ae88 100644 --- a/numpy/typing/_char_codes.py +++ b/numpy/typing/_char_codes.py @@ -48,11 +48,11 @@ if TYPE_CHECKING or HAVE_LITERAL: _HalfCodes = Literal["half", "e", "=e", "<e", ">e"] _SingleCodes = Literal["single", "f", "=f", "<f", ">f"] - _DoubleCodes = Literal["double" "float", "float_", "d", "=d", "<d", ">d"] + _DoubleCodes = Literal["double", "float", "float_", "d", "=d", "<d", ">d"] _LongDoubleCodes = Literal["longdouble", "longfloat", "g", "=g", "<g", ">g"] _CSingleCodes = Literal["csingle", "singlecomplex", "F", "=F", "<F", ">F"] - _CDoubleCodes = Literal["cdouble" "complex", "complex_", "cfloat", "D", "=D", "<D", ">D"] + _CDoubleCodes = Literal["cdouble", "complex", "complex_", "cfloat", "D", "=D", "<D", ">D"] _CLongDoubleCodes = Literal["clongdouble", "clongfloat", "longcomplex", "G", "=G", "<G", ">G"] _StrCodes = Literal["str", "str_", "str0", "unicode", "unicode_", "U", "=U", "<U", ">U"] |