elpy icon indicating copy to clipboard operation
elpy copied to clipboard

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

Open galaunay opened this issue 7 years ago • 2 comments

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):

  • [x] Commits respect our guidelines
  • [x] 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 avatar Dec 09 '18 03:12 galaunay

Coverage Status

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

coveralls avatar Dec 09 '18 03:12 coveralls

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 avatar May 05 '19 11:05 galaunay