Anonymous View
Skip to content

gh-151456: Document the show_jit parameter in dis#151457

Open
iamsharduld wants to merge 1 commit into
python:mainfrom
iamsharduld:doc-dis-show-jit
Open

gh-151456: Document the show_jit parameter in dis#151457
iamsharduld wants to merge 1 commit into
python:mainfrom
iamsharduld:doc-dis-show-jit

Conversation

@iamsharduld

Copy link
Copy Markdown
Contributor

Documents the show_jit parameter (added in gh-150478; it shows ENTER_EXECUTOR instructions used as JIT entry points) across the five public dis APIs that accept it: dis(), distb(), disassemble(), get_instructions(), and the Bytecode class, with a versionchanged:: 3.16 note on each.

Also fixes a pre-existing show_offset -> show_offsets typo in the documented distb signature.

Documentation-only change.

Issue: gh-151456

@read-the-docs-community

read-the-docs-community Bot commented Jun 13, 2026

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33127483 | 📁 Comparing 2f49899 against main (9ad6ba0)

  🔍 Preview build  

1 file changed
± library/dis.html

show_jit was added to dis.dis(), distb(), disassemble(), get_instructions() and the Bytecode class (pythongh-150478) but was never documented. Document it across those APIs with a versionchanged:: 3.16 note, and fix a pre-existing show_offset -> show_offsets typo in the distb signature. Also add a Misc/ACKS entry.
@Aniketsy

Copy link
Copy Markdown
Contributor

please avoid force pushing in order to keep the commit history clean .

Reviewers often want to look at individual commits.

@iamsharduld

Copy link
Copy Markdown
Contributor Author

Ok sure! Anything missing?

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants