Skip to content

Commit cd8a4d4

Browse files
committed
Merge branch 'master' of github.com:mattharrison/Tiny-Python-3.6-Notebook
2 parents 644c4fd + fc4dfef commit cd8a4d4

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
@@ -1283,7 +1283,7 @@ but Python passes that around for us automatically::
12831283
>>> print(bike.gear_inches())
12841284
68.0
12851285

1286-
We can access both class attributes or instance attributes on the instance::
1286+
We can access both class attributes and instance attributes on the instance::
12871287

12881288
>>> bike.num_passengers
12891289
1

0 commit comments

Comments
 (0)