Fixed whitespace typo
authorNeil Smith <neil.github@njae.me.uk>
Mon, 7 Oct 2013 12:31:44 +0000 (13:31 +0100)
committerNeil Smith <neil.github@njae.me.uk>
Mon, 7 Oct 2013 12:31:44 +0000 (13:31 +0100)
cipher.py

index 85de0a52c33b880653b83b573ff87ee109ec2970..55d99b6773bef3aac5b752ee8e0395856e3c75a8 100644 (file)
--- a/cipher.py
+++ b/cipher.py
@@ -110,7 +110,6 @@ def caesar_decipher(message, shift):
 def caesar_break(message, metric=norms.euclidean_distance, target_frequencies=normalised_english_counts, message_frequency_scaling=norms.normalise):
     """Breaks a Caesar cipher using frequency analysis
     
-    
     >>> caesar_break('ibxcsyorsaqcheyklxivoexlevmrimwxsfiqevvmihrsasrxliwyrhecjsppsamrkwleppfmergefifvmhixscsymjcsyqeoixlm')
     (4, 0.3186395289018361)
     >>> caesar_break('jhzhuhfrqilqhgwrdevwudfwuhdvrqlqjwkhqkdylqjvxemhfwhgwrfulwlflvpwkhhasodqdwlrqrisrzhuwkdwmxulglfdovfl')