projects
/
cipher-training.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04a92a0
)
Fixed docstring typo
author
Neil Smith
<neil.git@njae.me.uk>
Sat, 8 Mar 2014 03:28:58 +0000
(22:28 -0500)
committer
Neil Smith
<neil.git@njae.me.uk>
Sat, 8 Mar 2014 03:28:58 +0000
(22:28 -0500)
cipher.py
patch
|
blob
|
history
diff --git
a/cipher.py
b/cipher.py
index c5d542bb915b4cfd0775d5c100e8dce46a271d88..2386ae802f35d7e274fc7719827212362b5d032f 100644
(file)
--- a/
cipher.py
+++ b/
cipher.py
@@
-155,7
+155,7
@@
def caesar_encipher(message, shift):
return ''.join(enciphered)
def caesar_decipher(message, shift):
- """
En
cipher a message with the Caesar cipher of given shift
+ """
De
cipher a message with the Caesar cipher of given shift
>>> caesar_decipher('bcd', 1)
'abc'