From fc7e4e7bbd5d459b76b96991413569a5b7889fbe Mon Sep 17 00:00:00 2001 From: Yuki Kobayashi Date: Mon, 14 Apr 2025 03:35:26 +0900 Subject: gh-101100: Fix sphinx warnings in `library/plistlib.rst` (#132422) --- Doc/library/plistlib.rst | 5 +++-- Doc/tools/.nitignore | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/library/plistlib.rst b/Doc/library/plistlib.rst index c3a133e..415c4b4 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 f43dba1..926d2cd 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 -- cgit v0.12