[Python-checkins] Fix typo in the word "spaghetti" (GH-24866)

miss-islington webhook-mailer at python.org
Mon Mar 15 13:45:13 EDT 2021

commit: 83f676092e6936a17cf4a209681f021a49e2e171
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2021-03-15T10:45:04-07:00

Fix typo in the word "spaghetti" (GH-24866)

Automerge-Triggered-By: GH:Mariatta
(cherry picked from commit 93d33b47af70ede473f82d7953509a0607259c31)

Co-authored-by: Kazantcev Andrey <45011689+heckad at users.noreply.github.com>

M Doc/faq/design.rst

diff --git a/Doc/faq/design.rst b/Doc/faq/design.rst
index 77c8ca9b6cb05..5c59fcccb6c74 100644
--- a/Doc/faq/design.rst
+++ b/Doc/faq/design.rst
@@ -602,7 +602,7 @@ Why is there no goto?
 In the 1970s people realized that unrestricted goto could lead
-to messy "sphagetti" code that was hard to understand and revise.
+to messy "spaghetti" code that was hard to understand and revise.
 In a high-level language, it is also unneeded as long as there
 are ways to branch (in Python, with ``if`` statements and ``or``,
 ``and``, and ``if-else`` expressions) and loop (with ``while``

More information about the Python-checkins mailing list