Skip to content

Fix typo in the chapter 1 traceback example - #493

Open
SOsintOps wants to merge 1 commit into
csev:masterfrom
SOsintOps:fix-ch1-traceback-typo
Open

SOsintOps wants to merge 1 commit into
csev:masterfrom
SOsintOps:fix-ch1-traceback-typo

Conversation

@SOsintOps

Copy link
Copy Markdown

In chapter 1 the first error example types

>>> I come in peace, please take me to your leader

but the traceback echoes a different line:

    I come in peace take me tou your leader

Python echoes the line as typed, so the two must match. This restores the echoed line. The caret position (under "come") stays the same.

The typo came in with the Python 3.11 refresh of the examples (8445bea, December 2023).

Not touched here: html3/01-intro.php and the Filipino copy in book3/translation/book-tl carry the same line.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant