Skip to content

DOC: Added maximum_sctype to documentation #13054

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 1 commit into from
Feb 27, 2019

Conversation

madphysicist
Copy link
Contributor

@madphysicist madphysicist commented Feb 27, 2019

maximum_sctype is probably OK to be in the docs since it is referenced in multiple places, e.g.:

I have attempted to fix the non-generation of the doc by adding it to the autodoc page under https://docs.scipy.org/doc/numpy/reference/routines.dtype.html, and removing it from the undocumented list.

The issue originally came up in https://stackoverflow.com/a/48412971/2988730

@@ -140,6 +140,7 @@
'complex32', 'complex64', 'complex128', 'complex160',
'complex192', 'complex256', 'complex512', 'object']

@set_module('numpy')
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added for consistency with all the other exported functions in the module

@madphysicist
Copy link
Contributor Author

I finally figured out how to build the docs properly. Looks like the change did in fact work.

@mattip mattip merged commit a03afed into numpy:master Feb 27, 2019
@mattip
Copy link
Member

mattip commented Feb 27, 2019

LGTM, thanks @madphysicist

@madphysicist
Copy link
Contributor Author

@mattip. Thanks. That was very fast.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants