mirror of
https://github.com/python/cpython.git
synced 2025-11-11 14:44:57 +00:00
Fix typo in the word "spaghetti" (GH-24866)
Automerge-Triggered-By: GH:Mariatta
This commit is contained in:
parent
c5440937ef
commit
93d33b47af
1 changed files with 1 additions and 1 deletions
|
|
@ -601,7 +601,7 @@ Why is there no goto?
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
In the 1970s people realized that unrestricted goto could lead
|
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
|
In a high-level language, it is also unneeded as long as there
|
||||||
are ways to branch (in Python, with ``if`` statements and ``or``,
|
are ways to branch (in Python, with ``if`` statements and ``or``,
|
||||||
``and``, and ``if-else`` expressions) and loop (with ``while``
|
``and``, and ``if-else`` expressions) and loop (with ``while``
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue