Skip to content

Commit 6100bb7

Browse files
committed
DOC: fixing malformed documents
1 parent 249198b commit 6100bb7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎numpy/ma/extras.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,8 @@ def getdoc(self):
258258
doc = getattr(npfunc, '__doc__', None)
259259
if doc:
260260
sig = self.__name__ + ma.get_object_signature(npfunc)
261-
locdoc = "Notes\n-----\nThe function is applied to both the _data"\
261+
locdoc = "\n\n Notes\n -----\n "\
262+
"The function is applied to both the _data"\
262263
" and the _mask, if any."
263264
return '\n'.join((sig, doc, locdoc))
264265
return

0 commit comments

Comments
 (0)