-
Notifications
You must be signed in to change notification settings - Fork 769
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
__init__ docstring is ignored if @overload is used #4042
Comments
On a second look it seems #1047 is unrelated. So, docstrings of overloaded |
Seems related this this pyright change. No longer seeing the implementation function when calling bindFunctionToClassOrObject |
…ed method would adopt its class docstring rather than the docstring for its own implementation. This addresses microsoft/pylance-release#4042.
This will be fixed in the next release. |
This issue has been fixed in prerelease version 2023.3.21, which we've just released. You can find the changelog here: CHANGELOG.md |
Environment data
Code Snippet
Repro Steps
__init__
with docstring.Seems to be a combination of #2948 and #1047.
Expected behavior
Shows the method docstring.
Actual behavior
Shows the class docstring instead
The text was updated successfully, but these errors were encountered: