]> granicus.if.org Git - python/commitdiff
Print `a` so encrypted text is shown in ascii, not binary.
authorGuido van Rossum <guido@python.org>
Thu, 14 Aug 1997 19:55:00 +0000 (19:55 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 14 Aug 1997 19:55:00 +0000 (19:55 +0000)
Lib/test/output/test_rotor
Lib/test/test_rotor.py

index e2a61b2f4021156daafd047552c90424d626ba86..7a84e238f8f73caa579094532d0dce47463ce965 100644 (file)
@@ -1,5 +1,5 @@
 test_rotor
-µq\90£èITÑ\aÚ\1dÜß
+'\265q\220\243\350IT\321\007\332\035\334\337'
 \e>k(\1f\8a,\81Ë\9fâ
 spam and eggs
 cheese shop
index 338ea9d0dae4c69e4f46bb9446cf4d14f032149e..99724bccefae19e32567c76f1103215af1695098 100644 (file)
@@ -7,7 +7,7 @@ A = 'spam and eggs'
 B = 'cheese shop'
 
 a = r.encrypt(A)
-print a
+print `a`
 b = r.encryptmore(B)
 print b