Skip to content

DOC: clean-up docstrings of option functions #7236

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 2 commits into from
May 26, 2014

Conversation

jorisvandenbossche
Copy link
Member

Some clean-up after my last additions to api.rst to get rid off all warnings:

  • some clean up of api.rst itself
  • some clean-up of the docstrings of the option functions so they render nicely with sphinx

if o:
s += u('[default: %s] [currently: %s]') % (o.defval,
_get_option(k, True))

if o.doc:
s += '\n' + '\n '.join(o.doc.strip().split('\n'))
#s += '\n' + '\n '.join(o.doc.strip().split('\n'))
Copy link
Contributor

Choose a reason for hiding this comment

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

supposed to be commented out?

Copy link
Member Author

Choose a reason for hiding this comment

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

aha, thanks for the catch (should just be removed, it was the original line)

so they render nice with sphinx without warnings
jorisvandenbossche added a commit that referenced this pull request May 26, 2014
DOC: clean-up docstrings of option functions
@jorisvandenbossche jorisvandenbossche merged commit cb77f89 into pandas-dev:master May 26, 2014
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