summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazantcev Andrey <45011689+heckad@users.noreply.github.com>2021-03-15 17:23:03 (GMT)
committerGitHub <noreply@github.com>2021-03-15 17:23:03 (GMT)
commit93d33b47af70ede473f82d7953509a0607259c31 (patch)
tree9e32b3596c839db8385d908696467036374daa73
parentc5440937efab6a99d54340c902dfb21e86874bc3 (diff)
downloadcpython-93d33b47af70ede473f82d7953509a0607259c31.zip
cpython-93d33b47af70ede473f82d7953509a0607259c31.tar.gz
cpython-93d33b47af70ede473f82d7953509a0607259c31.tar.bz2
Fix typo in the word "spaghetti" (GH-24866)
Automerge-Triggered-By: GH:Mariatta
-rw-r--r--Doc/faq/design.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/faq/design.rst b/Doc/faq/design.rst
index f1f54ef..68570b3 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``