Kaydet (Commit) e81866e7 authored tarafından Andrew M. Kuchling's avatar Andrew M. Kuchling

Remove unneeded continuation chars

üst f64509e3
......@@ -6,9 +6,9 @@ def MDPrint(str):
outstr = ''
for i in str:
o = ord(i)
outstr = outstr \
+ string.hexdigits[(o >> 4) & 0xF] \
+ string.hexdigits[o & 0xF]
outstr = (outstr
+ string.hexdigits[(o >> 4) & 0xF]
+ string.hexdigits[o & 0xF])
print outstr,
......@@ -97,8 +97,8 @@ def MDTestSuite():
MDString('abc')
MDString('message digest')
MDString(makestr(ord('a'), ord('z')))
MDString(makestr(ord('A'), ord('Z')) \
+ makestr(ord('a'), ord('z')) \
MDString(makestr(ord('A'), ord('Z'))
+ makestr(ord('a'), ord('z'))
+ makestr(ord('0'), ord('9')))
MDString((makestr(ord('1'), ord('9')) + '0') * 8)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment