From 9af953e3db2cf3a1082b9dca0858df1e9836c48d Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Wed, 21 Jul 2021 06:42:22 +1000 Subject: [PATCH] docs: Fix a few typos There are small typos in: - notebooks/rocket.py - scripts/highlight_code.py Fixes: - Should read `specify` rather than `specificy`. - Should read `parameters` rather than `paremeters`. --- notebooks/rocket.py | 2 +- scripts/highlight_code.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/notebooks/rocket.py b/notebooks/rocket.py index 166008b..2b53729 100644 --- a/notebooks/rocket.py +++ b/notebooks/rocket.py @@ -10,7 +10,7 @@ def __init__(self, x=0, y=0): self.y = y def move_rocket(self, x_increment=0, y_increment=1): - # Move the rocket according to the paremeters given. + # Move the rocket according to the parameters given. # Default behavior is to move the rocket up one unit. self.x += x_increment self.y += y_increment diff --git a/scripts/highlight_code.py b/scripts/highlight_code.py index 4c6eae9..502c694 100644 --- a/scripts/highlight_code.py +++ b/scripts/highlight_code.py @@ -24,7 +24,7 @@ # The script assumes all html files are not nested, in a directory called # 'notebooks'. -# You will need to specificy path_to_notebooks. +# You will need to specify path_to_notebooks. # I'm happy to hear feedback, and accept improvements: # https://github.com/ehmatthes/intro_programming # ehmatthes@gmail.com, @ehmatthes