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

gh-101100: Fix sphinx warnings inDoc/library/platform.rst#136562

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

Merged

Conversation

LamentXU123
Copy link
Contributor

@LamentXU123LamentXU123 commentedJul 12, 2025
edited by github-actionsbot
Loading

There are two warnings:

C:\Users\admin\Downloads\cpython-main\Doc\library\platform.rst:178: WARNING: py:attr reference target not found: sysname [ref.attr]C:\Users\admin\Downloads\cpython-main\Doc\library\platform.rst:178: WARNING: py:attr reference target not found: nodename [ref.attr]

The original rst file is:

   Note: the first two attribute names differ from the names presented by   :func:`os.uname`, where they are named :attr:`sysname` and   :attr:`nodename`.

TheDoc of func os.uname indicates thatsysname andnodename is it's attr.

image

Since we've already got a ref to funcos.uname, I suggest we can subpress those two links.


📚 Documentation preview 📚:https://cpython-previews--136562.org.readthedocs.build/

Copy link
Member

@serhiy-storchakaserhiy-storchaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Since we've already got a ref to funcos.uname, I suggest we can subpress those two links.

Agree. LGTM.

@serhiy-storchakaserhiy-storchaka merged commit47b01da intopython:mainJul 12, 2025
37 checks passed
@github-project-automationgithub-project-automationbot moved this fromTodo toDone inDocs PRsJul 12, 2025
@serhiy-storchakaserhiy-storchaka added needs backport to 3.13bugs and security fixes needs backport to 3.14bugs and security fixes labelsJul 12, 2025
@miss-islington-app
Copy link

Thanks@LamentXU123 for the PR, and@serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Thanks@LamentXU123 for the PR, and@serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJul 12, 2025
…honGH-136562)(cherry picked from commit47b01da)Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJul 12, 2025
…honGH-136562)(cherry picked from commit47b01da)Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
@bedevere-app
Copy link

GH-136597 is a backport of this pull request to the3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelJul 12, 2025
@bedevere-app
Copy link

GH-136598 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelJul 12, 2025
serhiy-storchaka pushed a commit that referenced this pull requestJul 12, 2025
…-136562) (GH-136597)(cherry picked from commit47b01da)Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
serhiy-storchaka pushed a commit that referenced this pull requestJul 12, 2025
…-136562) (GH-136598)(cherry picked from commit47b01da)Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@serhiy-storchakaserhiy-storchakaserhiy-storchaka approved these changes

@AA-TurnerAA-TurnerAwaiting requested review from AA-TurnerAA-Turner is a code owner

@hugovkhugovkAwaiting requested review from hugovkhugovk is a code owner

Assignees
No one assigned
Labels
docsDocumentation in the Doc dirskip news
Projects
Status: Done
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@LamentXU123@serhiy-storchaka

[8]ページ先頭

©2009-2025 Movatter.jp