← 返回首页
gh-104301: Tidy pdb documentation of exclamation prefix by SnoopJ · Pull Request #104302 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

gh-104301: Tidy pdb documentation of exclamation prefix#104302

Closed
SnoopJ wants to merge 8 commits into
python:mainfrom
SnoopJ:doc/gh-104301_tidy-pdb-exclamation-doc
Closed

gh-104301: Tidy pdb documentation of exclamation prefix#104302
SnoopJ wants to merge 8 commits into
python:mainfrom
SnoopJ:doc/gh-104301_tidy-pdb-exclamation-doc

Conversation

SnoopJ commented May 8, 2023
edited by github-actions Bot
Loading

Copy link
Copy Markdown
Contributor

This changeset fixes #104301 by removing an errant space and adding an explicit example of using the prefix for disambiguation of built-in next from the pdb command of the same name

📚 Documentation preview 📚: https://cpython-previews--104302.org.readthedocs.build/

SnoopJ commented May 8, 2023
edited
Loading

Copy link
Copy Markdown
Contributor Author

Edit: I attempted to fix the CI failure in a0124a2

Failure in CI appears to be due to the -W flag in the sphinx-build invocation, converting the following warning into a fatal error:

Warning: /home/runner/work/cpython/cpython/Doc/library/pdb.rst:607: WARNING: Could not lex literal_block as "python3". Highlighting skipped.

I think the code block in question may need an explicit declaration, but someone with better Sphinx skills than me can probably better spot what the fix for that is.

AlexWaygood requested a review from gaogaotiantian May 8, 2023 21:06

Copy link
Copy Markdown
Member

This can be close, right?

SnoopJ commented May 11, 2023

Copy link
Copy Markdown
Contributor Author

Yup, closing in favor of #104342

SnoopJ closed this May 11, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Misleading documentation of ! prefix in pdb

3 participants

Footer

© 2026 GitHub, Inc.