Skip to content

gh-151950: Fix dangling class reference in pickletools docs#152209

Open
BHUVANSH855 wants to merge 1 commit into
python:mainfrom
BHUVANSH855:gh-151950-pickletools
Open

gh-151950: Fix dangling class reference in pickletools docs#152209
BHUVANSH855 wants to merge 1 commit into
python:mainfrom
BHUVANSH855:gh-151950-pickletools

Conversation

@BHUVANSH855

Copy link
Copy Markdown

Issue

gh-151950

Description

This PR fixes a dangling Sphinx class reference in Doc/library/pickletools.rst.

The reference to OpcodeInfo pointed to an undocumented internal class, producing a Sphinx warning. This change replaces the cross-reference with :class:!OpcodeInfo`` to preserve the formatting while suppressing the unresolved reference.

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should document it instead.

@bedevere-app

bedevere-app Bot commented Jun 25, 2026

Copy link
Copy Markdown

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting changes docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants