Environment data
- Pylance version: 2025.6.2
- OS and version: Mac 14.7.5
- Python version (& distribution if applicable, e.g. Anaconda): 3.13
Code Snippet
def test():
raise NotImplementedError()
Repro Steps
- Hover over the
NotImplementedError in the code snippet within vscode.
Expected behavior
Docstring for NotImplementedError would appear in the popup.
Actual behavior
Docstring for base class BaseException appears:
Logs
Environment data
Code Snippet
Repro Steps
NotImplementedErrorin the code snippet within vscode.Expected behavior
Docstring for
NotImplementedErrorwould appear in the popup.Actual behavior
Docstring for base class
BaseExceptionappears:Logs