aboutsummaryrefslogtreecommitdiff
path: root/docs/reference/repl.rst
diff options
context:
space:
mode:
authorMike Causer <mcauser@gmail.com>2016-08-01 09:52:00 +1000
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-08-02 11:17:46 +0300
commitce166e6b68b7fafb73a99fd64081f8a4155fe22a (patch)
tree20b063465b430968482cea18c41f949fbd2ec845 /docs/reference/repl.rst
parent3eb532e97463b7f9b9ffe6f617a035284ef3e37b (diff)
docs: Spelling mistakes
Diffstat (limited to 'docs/reference/repl.rst')
-rw-r--r--docs/reference/repl.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/reference/repl.rst b/docs/reference/repl.rst
index 8ca89a0d1..7a683ca22 100644
--- a/docs/reference/repl.rst
+++ b/docs/reference/repl.rst
@@ -50,7 +50,7 @@ Finally type ``print(i)``, press RETURN, press BACKSPACE and press RETURN again:
>>>
Auto-indent won't be applied if the previous two lines were all spaces. This
-means that you can finish entering a compound statment by pressing RETURN
+means that you can finish entering a compound statement by pressing RETURN
twice, and then a third press will finish and execute.
Auto-completion
@@ -80,7 +80,7 @@ expansions:
Interrupting a running program
------------------------------
-You can interupt a running program by pressing Ctrl-C. This will raise a KeyboardInterrupt
+You can interrupt a running program by pressing Ctrl-C. This will raise a KeyboardInterrupt
which will bring you back to the REPL, providing your program doesn't intercept the
KeyboardInterrupt exception.
@@ -184,8 +184,8 @@ variables no longer exist:
The special variable _ (underscore)
-----------------------------------
-When you use the REPL, you may perfom computations and see the results.
-MicroPython stores the results of the previous statment in the variable _ (underscore).
+When you use the REPL, you may perform computations and see the results.
+MicroPython stores the results of the previous statement in the variable _ (underscore).
So you can use the underscore to save the result in a variable. For example:
>>> 1 + 2 + 3 + 4 + 5