-
-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Typing docs: normalize some indents in code examples #120912
Typing docs: normalize some indents in code examples #120912
Conversation
TypeVarTuple
exampleTypeVarTuple
example
FWIW this isn't really "wrong" -- the code compiles and works fine with 8-space indentation here. Nonetheless, I wouldn't be opposed to normalising the indentation of code examples in the typing docs. But if we want to change this place, we should also change the other place in cpython/Doc/library/typing.rst Lines 99 to 102 in 610646d
|
TypeVarTuple
exampletyping
document
Thx! I've updated the PR title and description. |
typing
document
Thanks @SigureMo for the PR, and @AlexWaygood for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
(cherry picked from commit 0b918e8) Co-authored-by: Nyakku Shigure <sigure.qaq@gmail.com>
GH-120915 is a backport of this pull request to the 3.13 branch. |
(cherry picked from commit 0b918e8) Co-authored-by: Nyakku Shigure <sigure.qaq@gmail.com>
GH-120916 is a backport of this pull request to the 3.12 branch. |
… (#120916) Co-authored-by: Nyakku Shigure <sigure.qaq@gmail.com>
… (#120915) Co-authored-by: Nyakku Shigure <sigure.qaq@gmail.com>
Normalizing indent sizes in
typing
document to 4-space.Preview: https://cpython-previews--120912.org.readthedocs.build/en/120912/library/typing.html#typing.TypeVarTuple
📚 Documentation preview 📚: https://cpython-previews--120912.org.readthedocs.build/