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

Accessing Documentation From Cell (Using ?) #4449

Open
earlev4 opened this issue Jun 13, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@earlev4
Copy link

commented Jun 13, 2019

Hello,

Good day! First off, I just want to thank you for all your efforts on putting out a great application. I sincerely appreciate it! Please forgive me if this is a known issue or a requested feature. I searched opened and closed issues and did not find a similar issue. I also scanned the nteract documentation (docs.nteract.io) but did not find anything addressing this issue. I am not sure if this is a bug request or a feature request but opened as a bug report.

Application or Package Used
nteract desktop 0.14.3

Describe the bug
In IPython and Jupyter Notebooks, a question-mark ? after a method or function will bring up the documentation after the cell is run.

To Reproduce
In a cell, run the following with the python3 kernel.
First cell:
from bs4 import BeautifulSoup as bs
Second cell:
bs?

Expected behavior
After running the second cell, the expected behavior is an explanation of how the method or function works. Instead, the bs? cell runs without an error but does not produce any output.

Desktop (please complete the following information):

  • OS: Ubuntu 18.04 LTS
  • Browser: Chrome
  • Version: Version 74.0.3729.169

Additional context
In place of ? help works using help(bs). However, the help() function is not as succinct as ?. Jupyter Notebooks also offers the option of "SHIFT-TAB" in the cell which provides even a more succinct usage of the method or function. A similar feature would be very nice.

Thanks so much!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.