https://github.com/python/cpython/commit/47b01da4ccedd9c00fad4325b3e87d7732abeb6d
commit: 47b01da4ccedd9c00fad4325b3e87d7732abeb6d
branch: main
author: Weilin Du <[email protected]>
committer: serhiy-storchaka <[email protected]>
date: 2025-07-12T21:15:04+03:00
summary:
gh-101100: Fix sphinx warnings in Doc/library/platform.rst (GH-136562)
files:
M Doc/library/platform.rst
M Doc/tools/.nitignore
diff --git a/Doc/library/platform.rst b/Doc/library/platform.rst
index 06de152a742f28..37df13f8a1eb8c 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 1fbb45ecd73801..510225afab8933 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
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]