8000 DOC: Fix malformed docstrings in ma. by takanori-pskq · Pull Request #16296 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

DOC: Fix malformed docstrings in ma. #16296

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 11, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert "DOC: fixing malformed documents"
This reverts commit 6100bb7.
  • Loading branch information
takanori-pskq committed May 19, 2020
commit 0c589abf0ef0fd75c91f6dc4e0d870240ec6f81d
3 changes: 1 addition & 2 deletions numpy/ma/extras.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,7 @@ def getdoc(self):
doc = getattr(npfunc, '__doc__', None)
if doc:
sig = self.__name__ + ma.get_object_signature(npfunc)
locdoc = "\n\n Notes\n -----\n "\
"The function is applied to both the _data"\
locdoc = "Notes\n-----\nThe function is applied to both the _data"\
" and the _mask, if any."
return '\n'.join((sig, doc, locdoc))
return
Expand Down
0