-
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
StopIteration has wrong __init__ doc #653
Comments
The problem here is that these subclassed exceptions don't have an |
Ah, yeah. That's what I thought. I'm thinking that there would need to be an alternate traversal that checks the shadow files for docs rather than the regular type lookup that doesn't consider it. |
Excuse me, but when will this problem be solved? It's been quite a long time since this issue was opened. JediLSP is doing the correct behavior. So when will Pylance? |
The next version should fix this particular case (inheriting |
This issue has been fixed in version 2021.9.1, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/main/CHANGELOG.md#202191-8-september-2021 |
Environment data
Expected behaviour
Show each specific info for Exception
Actual behaviour
Logs
Code Snippet / Additional information
XXX
The text was updated successfully, but these errors were encountered: