]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in the word "spaghetti" (GH-24866)
authorKazantcev Andrey <45011689+heckad@users.noreply.github.com>
Mon, 15 Mar 2021 17:23:03 +0000 (20:23 +0300)
committerGitHub <noreply@github.com>
Mon, 15 Mar 2021 17:23:03 +0000 (10:23 -0700)
Automerge-Triggered-By: GH:Mariatta
Doc/faq/design.rst

index f1f54eff86e87c0339b070812872134dc3f02279..68570b33e2f6264bf9ef27e7d29540f08d2da90a 100644 (file)
@@ -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``