Fix typo in the word "spaghetti" (GH-24866)

Automerge-Triggered-By: GH:Mariatta
This commit is contained in:
Kazantcev Andrey 2021-03-15 20:23:03 +03:00 committed by GitHub
parent c5440937ef
commit 93d33b47af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -601,7 +601,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``