Skip to content
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

Fallback to shell 'help()' for docstring when jedi fails #1509

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

galaunay
Copy link
Collaborator

@galaunay galaunay commented Dec 9, 2018

PR Summary

Follow #1507.
When jedi fails to provide documentation, use the shell help() function to try to get the docstring.

PR checklist

Please make sure that the following things have been addressed (and check the relevant checkboxes):

  • Commits respect our guidelines
  • Tests are passing properly (see here on how to run Elpy's tests)

For new features only:

  • Tests has been added to cover the change
  • The documentation has been updated

@galaunay galaunay force-pushed the Gather-docstring-from-shell branch 3 times, most recently from 47ab2e0 to d25e23c Compare December 9, 2018 03:15
@coveralls
Copy link

coveralls commented Dec 9, 2018

Coverage Status

Coverage decreased (-0.3%) to 85.155% when pulling 925756f on galaunay:Gather-docstring-from-shell into 2d4a968 on jorgenschaefer:master.

@galaunay galaunay force-pushed the Gather-docstring-from-shell branch from 2fdbd33 to 16cc289 Compare April 6, 2019 15:31
@galaunay
Copy link
Collaborator Author

galaunay commented May 5, 2019

Note to myself:
pydoc seems to be confused from time to time with python2.7.
Maybe we should provide this only for python > 3 ?

@galaunay galaunay force-pushed the Gather-docstring-from-shell branch from 925756f to 48197f4 Compare September 5, 2019 15:08
@galaunay galaunay force-pushed the master branch 4 times, most recently from c4a2564 to d974e00 Compare June 30, 2021 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants