From: Weilin Du <108666168+LamentXU123@users.noreply.github.com> Date: Sat, 12 Jul 2025 18:15:04 +0000 (+0800) Subject: gh-101100: Fix sphinx warnings in Doc/library/platform.rst (GH-136562) X-Git-Tag: v3.15.0a1~996 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=47b01da4ccedd9c00fad4325b3e87d7732abeb6d;p=thirdparty%2FPython%2Fcpython.git gh-101100: Fix sphinx warnings in Doc/library/platform.rst (GH-136562) --- diff --git a/Doc/library/platform.rst b/Doc/library/platform.rst index 06de152a742f..37df13f8a1eb 100644 --- a/Doc/library/platform.rst +++ b/Doc/library/platform.rst @@ -176,8 +176,8 @@ Cross platform :attr:`processor` is resolved late, on demand. Note: the first two attribute names differ from the names presented by - :func:`os.uname`, where they are named :attr:`sysname` and - :attr:`nodename`. + :func:`os.uname`, where they are named :attr:`!sysname` and + :attr:`!nodename`. Entries which cannot be determined are set to ``''``. diff --git a/Doc/tools/.nitignore b/Doc/tools/.nitignore index 1fbb45ecd738..510225afab89 100644 --- a/Doc/tools/.nitignore +++ b/Doc/tools/.nitignore @@ -26,7 +26,6 @@ Doc/library/multiprocessing.rst Doc/library/optparse.rst Doc/library/os.rst Doc/library/pickletools.rst -Doc/library/platform.rst Doc/library/profile.rst Doc/library/pyexpat.rst Doc/library/resource.rst