-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Typo in docstring for override decorator from typing
module.
#112152
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
Comments
@Qua27 please, send a PR with the fix :) |
@sobolevn, I'm excited to make my first contribution here, and I appreciate your understanding as I navigate through the process. If there's anything specific I should keep in mind or if you have any feedback, please feel free to let me know. Thanks for welcoming newcomers like me! |
Thank you for your report and williness to fix the problem :) Nothing important for this specific issue that I can think about. |
…2158) (cherry picked from commit 12c7e9d) Co-authored-by: Qua27 <[email protected]>
…#112162) GH-112152: Fix typo in `typing.override` docstring (GH-112158) (cherry picked from commit 12c7e9d) Co-authored-by: Qua27 <[email protected]>
typing
module documentationTypo description
A typo in docstring for
override
decorator. UnderUsage::
we see the following code.Both
...
andpass
are used inBase
's class method. Since...
has already been used,pass
statement does not relate to the method at all, causingIndentationError
.Suggested solution: remove
...
cpython/Lib/typing.py
Line 3348 in 985679f
Linked PRs
typing.override
docstring #112158typing.override
docstring (GH-112158) #112162The text was updated successfully, but these errors were encountered: