Skip to content

Conversation

@LamentXU123
Copy link
Contributor

@LamentXU123 LamentXU123 commented Jul 12, 2025

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`.

The Doc of func os.uname indicates that sysname and nodename is it's attr.

image

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


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

Copy link
Member

@serhiy-storchaka serhiy-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 func os.uname, I suggest we can subpress those two links.

Agree. LGTM.

@serhiy-storchaka serhiy-storchaka merged commit 47b01da into python:main Jul 12, 2025
37 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Jul 12, 2025
@serhiy-storchaka serhiy-storchaka added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Jul 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 request Jul 12, 2025
…honGH-136562)

(cherry picked from commit 47b01da)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 12, 2025
…honGH-136562)

(cherry picked from commit 47b01da)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
@bedevere-app
Copy link

bedevere-app bot commented Jul 12, 2025

GH-136597 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Jul 12, 2025
@bedevere-app
Copy link

bedevere-app bot commented Jul 12, 2025

GH-136598 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Jul 12, 2025
serhiy-storchaka pushed a commit that referenced this pull request Jul 12, 2025
…-136562) (GH-136597)

(cherry picked from commit 47b01da)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
serhiy-storchaka pushed a commit that referenced this pull request Jul 12, 2025
…-136562) (GH-136598)

(cherry picked from commit 47b01da)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
Agent-Hellboy pushed a commit to Agent-Hellboy/cpython that referenced this pull request Aug 19, 2025
kumaraditya303 pushed a commit to miss-islington/cpython that referenced this pull request Sep 9, 2025
…st (pythonGH-136562) (pythonGH-136597)

(cherry picked from commit 47b01da)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants