Skip to content

Commit 0b6e3ed

Browse files
committed
fixed round_ to round typo
1 parent bbdfd65 commit 0b6e3ed

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

numpy/ma/core.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8119,7 +8119,7 @@ def nmask(x):
81198119
return d
81208120

81218121

8122-
def round_(a, decimals=0, out=None):
8122+
def round(a, decimals=0, out=None):
81238123
"""
81248124
Return a copy of a, rounded to 'decimals' places.
81258125
@@ -8175,8 +8175,6 @@ def round_(a, decimals=0, out=None):
81758175
return out
81768176

81778177

8178-
round = round_
8179-
81808178

81818179
def _mask_propagate(a, axis):
81828180
"""

numpy/ma/core.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1214,4 +1214,4 @@ zeros_like: _convert2ma
12141214

12151215
def append(a, b, axis=...): ...
12161216
def dot(a, b, strict=..., out=...): ...
1217-
def mask_rowcols(a, axis=...): ...
1217+
def mask_rowcols(a, axis=...): ...

0 commit comments

Comments
 (0)