Skip to content

Commit 3f3c1b3

Browse files
authored
Merge pull request numpy#26480 from rgommers/typ-newbyteorder
TYP: fix type annotation for `newbyteorder`
2 parents fba4fc1 + 6b67436 commit 3f3c1b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ def show_config() -> None: ...
636636

637637
_NdArraySubClass = TypeVar("_NdArraySubClass", bound=NDArray[Any])
638638
_DTypeScalar_co = TypeVar("_DTypeScalar_co", covariant=True, bound=generic)
639-
_ByteOrder = L["S", "<", ">", "=", "|", "L", "B", "N", "I"]
639+
_ByteOrder = L["S", "<", ">", "=", "|", "L", "B", "N", "I", "little", "big", "native"]
640640

641641
@final
642642
class dtype(Generic[_DTypeScalar_co]):

0 commit comments

Comments
 (0)