From 83f676092e6936a17cf4a209681f021a49e2e171 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Mon, 15 Mar 2021 10:45:04 -0700 Subject: 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@users.noreply.github.com> --- Doc/faq/design.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/faq/design.rst b/Doc/faq/design.rst index 77c8ca9..5c59fcc 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`` -- cgit v0.12