Skip to content

Commit fc4dfef

Browse files
authored
Merge pull request mattharrison#4 from crowchirp/patch-1
corrected typos
2 parents b816e00 + 4f8d644 commit fc4dfef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ REPL
6161

6262
.. note::
6363

64-
The majority of code in this book is written as if it where executed in a REPL. If you
64+
The majority of code in this book is written as if it were executed in a REPL. If you
6565
are typing it in, ignore the primary and secondary prompts (``>>>`` and ``...``).
6666

6767
The Zen of Python
6868
===================
6969

70-
Run the following in an interpreter to get an easter egg that describes some of the ethos behind Python. This is also codified in PEP 20::
70+
Run the following in an interpreter to get an Easter egg that describes some of the ethos behind Python. This is also codified in PEP 20::
7171

7272
>>> import this
7373
The Zen of Python, by Tim Peters
@@ -1282,7 +1282,7 @@ but Python passes that around for us automatically::
12821282
>>> print(bike.gear_inches())
12831283
68.0
12841284

1285-
We can access both class attributes or instance attributes on the instance::
1285+
We can access both class attributes and instance attributes on the instance::
12861286

12871287
>>> bike.num_passengers
12881288
1

0 commit comments

Comments
 (0)