Skip to content

Fix sentence in bdb.rst#149107

Open
manoj-km24 wants to merge 1 commit intopython:mainfrom
manoj-km24:fix-minor-typos-in-bdb-rst
Open

Fix sentence in bdb.rst#149107
manoj-km24 wants to merge 1 commit intopython:mainfrom
manoj-km24:fix-minor-typos-in-bdb-rst

Conversation

@manoj-km24
Copy link
Copy Markdown
Contributor

@manoj-km24 manoj-km24 commented Apr 28, 2026

This PR fixes a minor typo in ```Doc/library/bdb.rst" .

   If the breakpoint was set via
   :attr:`function name <bdb.Breakpoint.funcname>`, we have to check we are in
   the right *frame* (the right function) and ....

Fixed "we have to check we are in .." to "we have to check if we are in .."


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

@read-the-docs-community
Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #32455471 | 📁 Comparing dc19839 against main (8a8d737)

  🔍 Preview build  

6 files changed · ± 6 modified

± Modified

Comment thread Doc/library/bdb.rst
Comment on lines 74 to 75
Print the output of :meth:`bpformat` to the file *out*, or if it is
``None``, to standard output.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think if it is None is ambiguous here.

Comment thread Doc/library/bdb.rst
Comment on lines 74 to 75
Print the output of :meth:`bpformat` to the file *out*, or if it is
``None``, to standard output.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
Print the output of :meth:`bpformat` to the file *out*; if *out* is
``None``, print to standard output.

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

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants