Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
Loading
from

Conversation

reynoldsnlp
Copy link

@reynoldsnlp reynoldsnlp commented May 20, 2025

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

Paragraph should not be under `slice.step`. It applies to the whole class.
@python-cla-bot
Copy link

python-cla-bot bot commented May 20, 2025

All commit authors signed the Contributor License Agreement.

CLA signed

@ZeroIntensity ZeroIntensity added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels May 20, 2025
@vstinner
Copy link
Member

The change looks wrong.

@ZeroIntensity
Copy link
Member

What's wrong with it? That paragraph renders pretty weirdly on the current documentation.

@vstinner
Copy link
Member

The paragraph describes start, step and stop attributes, so I think that the current doc is correct. No?

@ZeroIntensity
Copy link
Member

Eh, it looks a little funny to me, particularly because it reads as being exclusive to step. I'd prefer we either change it to this, or move that paragraph to before start.

@reynoldsnlp
Copy link
Author

+1 for moving the paragraph above start/end/step. Should I commit that change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting core review docs Documentation in the Doc dir needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes skip issue skip news
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.