summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2021-02-12 06:50:56 -0700
committerGitHub <noreply@github.com>2021-02-12 06:50:56 -0700
commitfc2fe480f42e78c23a1cb1c8088bc1148784e16c (patch)
tree9aa91f76c091ed3570684cf4488418839edc9c07 /numpy
parent5ca0ef6272ef3eabe2feb4049b7cb05a52516495 (diff)
parent7af8020bcb805201bd90076792a0d09246138578 (diff)
downloadnumpy-fc2fe480f42e78c23a1cb1c8088bc1148784e16c.tar.gz
Merge pull request #18402 from bashtage/bug-char-codes
BUG: Fix typo in char_codes
Diffstat (limited to 'numpy')
-rw-r--r--numpy/typing/_char_codes.py4
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"]