From acc16836bfd0548a250ddfce04a565565462d2c1 Mon Sep 17 00:00:00 2001 From: Bhuvansh Kataria Date: Thu, 25 Jun 2026 14:26:41 +0000 Subject: [PATCH] gh-151950: Fix dangling reference in pickletools docs --- Doc/library/pickletools.rst | 2 +- Doc/tools/.nitignore | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Doc/library/pickletools.rst b/Doc/library/pickletools.rst index 769ca60af1837ea..7eeb6b4a2fab1f3 100644 --- a/Doc/library/pickletools.rst +++ b/Doc/library/pickletools.rst @@ -108,7 +108,7 @@ Programmatic interface Provides an :term:`iterator` over all of the opcodes in a pickle, returning a sequence of ``(opcode, arg, pos)`` triples. *opcode* is an instance of an - :class:`OpcodeInfo` class; *arg* is the decoded value, as a Python object, of + :class:`!OpcodeInfo` class; *arg* is the decoded value, as a Python object, of the opcode's argument; *pos* is the position at which this opcode is located. *pickle* can be a string or a file-like object. diff --git a/Doc/tools/.nitignore b/Doc/tools/.nitignore index 2255c745c003838..6f082cd900a8039 100644 --- a/Doc/tools/.nitignore +++ b/Doc/tools/.nitignore @@ -18,7 +18,6 @@ Doc/library/lzma.rst Doc/library/mmap.rst Doc/library/multiprocessing.rst Doc/library/optparse.rst -Doc/library/pickletools.rst Doc/library/pyexpat.rst Doc/library/select.rst Doc/library/socket.rst