summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/_typing/_nested_sequence.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/_typing/_nested_sequence.py b/numpy/_typing/_nested_sequence.py
index 7c12c4a87..360c0f1b2 100644
--- a/numpy/_typing/_nested_sequence.py
+++ b/numpy/_typing/_nested_sequence.py
@@ -36,9 +36,9 @@ class _NestedSequence(Protocol[_T_co]):
>>> from typing import TYPE_CHECKING
>>> import numpy as np
- >>> from numpy._typing import _NestedSequnce
+ >>> from numpy._typing import _NestedSequence
- >>> def get_dtype(seq: _NestedSequnce[float]) -> np.dtype[np.float64]:
+ >>> def get_dtype(seq: _NestedSequence[float]) -> np.dtype[np.float64]:
... return np.asarray(seq).dtype
>>> a = get_dtype([1.0])