Skip to content

Commit beb23d5

Browse files
committed
🏷️ fix stubtest errors in the numpy.ma division functions
1 parent 5caff29 commit beb23d5

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

src/numpy-stubs/ma/core.pyi

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -922,12 +922,13 @@ bitwise_and: _MaskedBinaryOperation
922922
bitwise_or: _MaskedBinaryOperation
923923
bitwise_xor: _MaskedBinaryOperation
924924
hypot: _MaskedBinaryOperation
925-
divide: _MaskedBinaryOperation
926-
true_divide: _MaskedBinaryOperation
927-
floor_divide: _MaskedBinaryOperation
928-
remainder: _MaskedBinaryOperation
929-
fmod: _MaskedBinaryOperation
930-
mod: _MaskedBinaryOperation
925+
926+
divide: _DomainedBinaryOperation
927+
true_divide: _DomainedBinaryOperation
928+
floor_divide: _DomainedBinaryOperation
929+
remainder: _DomainedBinaryOperation
930+
fmod: _DomainedBinaryOperation
931+
mod: _DomainedBinaryOperation
931932

932933
arange: _convert2ma
933934
empty: _convert2ma

tool/.mypyignore-todo.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@ numpy.ma.testutils
2525
numpy.ma(.core)?.angle
2626
numpy.ma(.core)?.clip
2727
numpy.ma(.core)?.(arg)?sort
28-
numpy.ma(.core)?.((floor|true)_)?divide
29-
numpy.ma(.core)?.f?mod
3028
numpy.ma(.core)?.indices
31-
numpy.ma(.core)?.remainder
3229
numpy.ma(.core)?.squeeze
3330
numpy.ma.core.mask_rowcols
3431
numpy.ma.extras.MAxisConcatenator.concatenate

0 commit comments

Comments
 (0)