Skip to content

Clarify wordings and fix typo in compound statements page#149666

Open
jonathandung wants to merge 1 commit into
python:mainfrom
jonathandung:patch-5
Open

Clarify wordings and fix typo in compound statements page#149666
jonathandung wants to merge 1 commit into
python:mainfrom
jonathandung:patch-5

Conversation

@jonathandung
Copy link
Copy Markdown
Contributor

An :exc:`TypeError`

->

A :exc:`TypeError`

Dubious phrasing:

Exceptions are cleared because with the traceback attached to them, they form a reference cycle with the stack frame, keeping all locals in that frame alive until the next garbage collection occurs.

Changed to:

Exceptions are cleared because their attached tracebacks form a reference cycle with the stack
frame, keeping all locals in that frame alive until the next garbage collection occurs.

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

Documentation build overview

📚 cpython-previews | 🛠️ Build #32634017 | 📁 Comparing 9392c26 against main (0108843)

  🔍 Preview build  

1 file changed
± reference/compound_stmts.html

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.

1 participant