-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Docs: Fix indentation in slice class of functions.rst #134393
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
Conversation
Paragraph should not be under `slice.step`. It applies to the whole class.
The change looks wrong. |
What's wrong with it? That paragraph renders pretty weirdly on the current documentation. |
The paragraph describes start, step and stop attributes, so I think that the current doc is correct. No? |
Eh, it looks a little funny to me, particularly because it reads as being exclusive to |
+1 for moving the paragraph above start/end/step. Should I commit that change? |
Sorry for the late response. Go for it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @reynoldsnlp for the PR, and @ZeroIntensity for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…34393) Paragraph should not be under `slice.step`. It applies to the whole class. --------- (cherry picked from commit 6227662) Co-authored-by: Rob Reynolds <[email protected]> Co-authored-by: Rob Reynolds <[email protected]>
GH-135948 is a backport of this pull request to the 3.14 branch. |
…34393) Paragraph should not be under `slice.step`. It applies to the whole class. --------- (cherry picked from commit 6227662) Co-authored-by: Rob Reynolds <[email protected]> Co-authored-by: Rob Reynolds <[email protected]>
GH-135949 is a backport of this pull request to the 3.13 branch. |
Congrats on your first contribution @reynoldsnlp :) |
…134393) (GH-135949) Docs: Fix indentation in `slice` class of `functions.rst` (GH-134393) Paragraph should not be under `slice.step`. It applies to the whole class. (cherry picked from commit 6227662) Co-authored-by: Rob Reynolds <[email protected]>
…134393) (#135948) Docs: Fix indentation in `slice` class of `functions.rst` (GH-134393) Paragraph should not be under `slice.step`. It applies to the whole class. (cherry picked from commit 6227662) Co-authored-by: Rob Reynolds <[email protected]>
Paragraph should not be under
slice.step
. It applies to the whole class.📚 Documentation preview 📚: https://cpython-previews--134393.org.readthedocs.build/en/134393/library/functions.html#slice