https://github.com/python/cpython/commit/fc7e4e7bbd5d459b76b96991413569a5b7889fbe
commit: fc7e4e7bbd5d459b76b96991413569a5b7889fbe
branch: main
author: Yuki Kobayashi <drsuaimqj...@gmail.com>
committer: hugovk <1324225+hug...@users.noreply.github.com>
date: 2025-04-13T18:35:26Z
summary:

gh-101100: Fix sphinx warnings in `library/plistlib.rst` (#132422)

files:
M Doc/library/plistlib.rst
M Doc/tools/.nitignore

diff --git a/Doc/library/plistlib.rst b/Doc/library/plistlib.rst
index c3a133e46a64d6..415c4b45c4f100 100644
--- a/Doc/library/plistlib.rst
+++ b/Doc/library/plistlib.rst
@@ -147,8 +147,9 @@ The following classes are available:
    Wraps an :class:`int`.  This is used when reading or writing NSKeyedArchiver
    encoded data, which contains UID (see PList manual).
 
-   It has one attribute, :attr:`data`, which can be used to retrieve the int 
value
-   of the UID.  :attr:`data` must be in the range ``0 <= data < 2**64``.
+   .. attribute:: data
+
+      Int value of the UID.  It must be in the range ``0 <= data < 2**64``.
 
    .. versionadded:: 3.8
 
diff --git a/Doc/tools/.nitignore b/Doc/tools/.nitignore
index f43dba19d1340c..926d2cd42bdf02 100644
--- a/Doc/tools/.nitignore
+++ b/Doc/tools/.nitignore
@@ -32,7 +32,6 @@ Doc/library/optparse.rst
 Doc/library/os.rst
 Doc/library/pickletools.rst
 Doc/library/platform.rst
-Doc/library/plistlib.rst
 Doc/library/profile.rst
 Doc/library/pyexpat.rst
 Doc/library/resource.rst

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to