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:
Miss Islington (bot) 2021-03-15 10:45:04 -07:00 committed by GitHub
parent 2fe408497e
commit 83f676092e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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``