Skip to content

Commit 5bdbd6d

Browse files
jorenhamcharris
authored andcommitted
TYP: fix stubtest errors in numpy._globals (#28536)
Ported from numpy/numtype#249
1 parent 8f561db commit 5bdbd6d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

numpy/_globals.pyi

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ from typing import Final, final
66
@final
77
class _CopyMode(enum.Enum):
88
ALWAYS = True
9-
IF_NEEDED = False
10-
NEVER = 2
9+
NEVER = False
10+
IF_NEEDED = 2
11+
12+
def __bool__(self, /) -> bool: ...
1113

1214
@final
1315
class _NoValueType: ...

0 commit comments

Comments
 (0)