8000 Fix typo in the word "spaghetti" (GH-24866) · python/cpython@233f58f · GitHub
[go: up one dir, main page]

Skip to content

Commit 233f58f

Browse files
Fix typo in the word "spaghetti" (GH-24866)
Automerge-Triggered-By: GH:Mariatta (cherry picked from commit 93d33b4) Co-authored-by: Kazantcev Andrey <45011689+heckad@users.noreply.github.com>
1 parent d42a332 commit 233f58f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/faq/design.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ Why is there no goto?
600600 6816
---------------------
601601

602602
In the 1970s people realized that unrestricted goto could lead
603-
to messy "sphagetti" code that was hard to understand and revise.
603+
to messy "spaghetti" code that was hard to understand and revise.
604604
In a high-level language, it is also unneeded as long as there
605605
are ways to branch (in Python, with ``if`` statements and ``or``,
606606
``and``, and ``if-else`` expressions) and loop (with ``while``

0 commit comments

Comments
 (0)
0