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

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


https://github.com/python/cpython/commit/93d33b47af70ede473f82d7953509a0607259c31
commit: 93d33b47af70ede473f82d7953509a0607259c31
branch: master
author: Kazantcev Andrey <45011689+heckad at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2021-03-15T10:23:03-07:00
summary:

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



Automerge-Triggered-By: GH:Mariatta

files:
M Doc/faq/design.rst

diff --git a/Doc/faq/design.rst b/Doc/faq/design.rst
index f1f54eff86e87..68570b33e2f62 100644
--- a/Doc/faq/design.rst
+++ b/Doc/faq/design.rst
@@ -601,7 +601,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