Skip to content

Commit 6db3374

Browse files
committed
minor typos
1 parent 82357b2 commit 6db3374

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

_episodes/07-errors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ Variable name errors come with some of the most informative error messages,
227227
which are usually of the form "name 'the_variable_name' is not defined".
228228
229229
Why does this error message occur?
230-
That's harder question to answer,
230+
That's a harder question to answer,
231231
because it depends on what your code is supposed to do.
232232
However,
233233
there are a few very common reasons why you might have an undefined variable.

_episodes/09-debugging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ Replacing random chunks of code is unlikely to do much good.
151151
if you got it wrong the first time,
152152
you'll probably get it wrong the second and third as well.)
153153
Good programmers therefore
154-
*change one thing at a time, for a reason*
154+
*change one thing at a time, for a reason*.
155155
They are either trying to gather more information
156156
("is the bug still there if we change the order of the loops?")
157157
or test a fix

_episodes/10-cmdline.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ $ python count_stdin.py small-01.csv
585585
~~~
586586
{: .bash}
587587
588-
i.e., to forget the `<` character that redirect the file to standard input.
588+
i.e., to forget the `<` character that redirects the file to standard input.
589589
In this case,
590590
there's nothing in standard input,
591591
so the program waits at the start of the loop for someone to type something on the keyboard.
@@ -985,7 +985,7 @@ the program now does everything we set out to do.
985985
>
986986
> Write a program called `check_arguments.py` that prints usage
987987
> then exits the program if no arguments are provided.
988-
> (Hint) You can use `sys.exit()` to exit the program.
988+
> (Hint: You can use `sys.exit()` to exit the program.)
989989
>
990990
> ~~~
991991
> $ python check_arguments.py

0 commit comments

Comments
 (0)