-
Notifications
You must be signed in to change notification settings - Fork 767
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
Missing docstring for np.sqrt #1740
Labels
Comments
I also met the same problem |
Jedi executes compiled code to get its docstrings, Pylance does not, instead shipping a pre-scraped version for docs. It looks like our current handling could be improved here; the intent is that this works. |
What version of NumPy are you using? |
I am using version 1.21.2. |
jakebailey
removed
the
waiting for user response
Requires more information from user
label
Aug 31, 2021
jakebailey
changed the title
Different docstrings under different language servers
Missing docstring for np.sqrt
Aug 31, 2021
This was actually fixed in 2021.9.1; it was the same as #1047. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
This is the docstring given when Pylance is chosen as the language server:
This is the docstring given when JediLSP is chosen as the language server:
They are different and the docstring given by Pylance is not useful (and it is perhaps retrieving docstring of some base class?). Is there a way to resolve this?
Thanks!
The text was updated successfully, but these errors were encountered: