From ce166e6b68b7fafb73a99fd64081f8a4155fe22a Mon Sep 17 00:00:00 2001 From: Mike Causer Date: Mon, 1 Aug 2016 09:52:00 +1000 Subject: docs: Spelling mistakes --- docs/reference/repl.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/reference/repl.rst') 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 -- cgit v1.2.3