]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in the word "spaghetti" (GH-24866)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 15 Mar 2021 17:45:12 +0000 (10:45 -0700)
committerGitHub <noreply@github.com>
Mon, 15 Mar 2021 17:45:12 +0000 (10:45 -0700)
Automerge-Triggered-By: GH:Mariatta
(cherry picked from commit 93d33b47af70ede473f82d7953509a0607259c31)

Co-authored-by: Kazantcev Andrey <45011689+heckad@users.noreply.github.com>
Doc/faq/design.rst

index 65d6a8e70dbba57dcd7a41f5c54fe4da0f194f2e..0d4c8d8fd27ae377f572d6b76d9f2fcd5c60fa1e 100644 (file)
@@ -600,7 +600,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``