Skip to content

Commit 3d85973

Browse files
telemachusbrycepg
authored andcommitted
Fix spelling of Caesar
I know that this isn't the most important thing in the world, but as a Latin teacher, it is (literally) my job to notice this sort of thing. Thanks for pylint.
1 parent a735857 commit 3d85973

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/tutorial.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Your First Pylint'ing
9898
---------------------
9999

100100
We'll use a basic Python script as fodder for our tutorial.
101-
The starting code we will use is called simplecaeser.py and is here in its
101+
The starting code we will use is called simplecaesar.py and is here in its
102102
entirety:
103103

104104
.. sourcecode:: python
@@ -136,7 +136,7 @@ If we run this:
136136

137137
.. sourcecode:: console
138138

139-
robertk01 Desktop$ pylint simplecaeser.py
139+
robertk01 Desktop$ pylint simplecaesar.py
140140
************* Module simplecaesar
141141
simplecaesar.py:16:19: C0326: Exactly one space required around assignment
142142
encoded=encoded + letters[x]
@@ -202,7 +202,7 @@ Here is the updated code:
202202

203203
1 #!/usr/bin/env python3
204204
2 """This script prompts a user to enter a message to encode or decode
205-
3 using a classic Caeser shift substitution (3 letter shift)"""
205+
3 using a classic Caesar shift substitution (3 letter shift)"""
206206
4
207207
5 import string
208208
6
@@ -232,7 +232,7 @@ Here is what happens when we run it:
232232

233233
.. sourcecode:: console
234234

235-
robertk01 Desktop$ pylint simplecaeser.py
235+
robertk01 Desktop$ pylint simplecaesar.py
236236
************* Module simplecaesar
237237
simplecaesar.py:7:0: C0103: Constant name "shift" doesn't conform to UPPER_CASE naming style (invalid-name)
238238
simplecaesar.py:8:0: C0103: Constant name "choice" doesn't conform to UPPER_CASE naming style (invalid-name)

0 commit comments

Comments
 (0)