mirror of
https://github.com/python/cpython.git
synced 2025-09-30 04:15:43 +00:00
Fix typo in the word "spaghetti" (GH-24866)
Automerge-Triggered-By: GH:Mariatta
(cherry picked from commit 93d33b47af
)
Co-authored-by: Kazantcev Andrey <45011689+heckad@users.noreply.github.com>
This commit is contained in:
parent
2fe408497e
commit
83f676092e
1 changed files with 1 additions and 1 deletions
|
@ -602,7 +602,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