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

Skip to content

Commit 93d33b4

Browse files
authored
Fix typo in the word "spaghetti" (GH-24866)
Automerge-Triggered-By: GH:Mariatta
1 parent c544093 commit 93d33b4

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
@@ -601,7 +601,7 @@ Why is there no goto?
601601
---------------------
602602

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

0 commit comments

Comments
 (0)
0