Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

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

Sign up
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
reynoldsnlp wants to merge1 commit intopython:main
base:main
Choose a base branch
Loading
fromreynoldsnlp:patch-1

Conversation

reynoldsnlp
Copy link

@reynoldsnlpreynoldsnlp commentedMay 20, 2025
edited by ZeroIntensity
Loading

Paragraph should not be underslice.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-botbot commentedMay 20, 2025
edited
Loading

All commit authors signed the Contributor License Agreement.

CLA signed

@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 tostep. I'd prefer we either change it to this, or move that paragraph to beforestart.

reynoldsnlp reacted with thumbs up emoji

@reynoldsnlp
Copy link
Author

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

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ZeroIntensityZeroIntensityZeroIntensity approved these changes

Assignees
No one assigned
Labels
awaiting core reviewdocsDocumentation in the Doc dirneeds backport to 3.13bugs and security fixesneeds backport to 3.14bugs and security fixesskip issueskip news
Projects
Status: Todo
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@reynoldsnlp@vstinner@ZeroIntensity

[8]ページ先頭

©2009-2025 Movatter.jp