We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please see numpy format
class NumpyDocString(Mapping): """Parses a numpydoc string to an abstract representation """ sections = { 'Summary': [''], 'Extended': [], 'Parameters': [], 'Returns': [] } def __init__(self, docstring, config=None): docstring = textwrap.dedent(docstring).split('\n') self._doc = Reader(docstring) self._parsed_data = copy.deepcopy(self.sections) self._parse() self['Parameters'] = {o.name:o for o in self['Parameters']} if self['Returns']: self['Returns'] = self['Returns'][0] self['Summary'] = dedent_lines(self['Summary'], split=False) self['Extended'] = dedent_lines(self['Extended'], split=False)
The text was updated successfully, but these errors were encountered:
Feel free to do a PR with any additions you need.
Sorry, something went wrong.
@jph00 okie
No branches or pull requests
Please see numpy format
The text was updated successfully, but these errors were encountered: