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

read-the-docs-community Bot commented May 11, 2026

Copy link
Copy Markdown

@jonathandung jonathandung deleted the patch-5 branch May 20, 2026 13:51
@jonathandung jonathandung restored the patch-5 branch May 20, 2026 13:53
@jonathandung jonathandung reopened this May 20, 2026
@jonathandung

Copy link
Copy Markdown
Contributor Author

Please add skip issue.

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