X Tutup
Skip to content

Commit 8876848

Browse files
committed
Whitespace normalization.
1 parent 135cce8 commit 8876848

File tree

5 files changed

+6
-8
lines changed

5 files changed

+6
-8
lines changed

Lib/hmac.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def __init__(self, key, msg = None, digestmod = None):
3535
self.outer = digestmod.new()
3636
self.inner = digestmod.new()
3737
self.digest_size = digestmod.digest_size
38-
38+
3939
blocksize = 64
4040
ipad = "\x36" * blocksize
4141
opad = "\x5C" * blocksize
@@ -97,4 +97,3 @@ def new(key, msg = None, digestmod = None):
9797
method.
9898
"""
9999
return HMAC(key, msg, digestmod)
100-

Lib/pprint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ def _safe_repr(object, context, maxlevels, level):
283283
recursive = 1
284284
del context[objid]
285285
return format % _commajoin(components), readable, recursive
286-
286+
287287
rep = `object`
288288
return rep, (rep and not rep.startswith('<')), 0
289289

Lib/test/test_dumbdbm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def __init__(self, *args):
2424
unittest.TestCase.__init__(self, *args)
2525
self._dkeys = self._dict.keys()
2626
self._dkeys.sort()
27-
27+
2828
def test_dumbdbm_creation(self):
2929
for ext in [".dir", ".dat", ".bak"]:
3030
try: os.unlink(self._fname+ext)
@@ -57,7 +57,7 @@ def read_helper(self, f):
5757
keys = self.keys_helper(f)
5858
for key in self._dict:
5959
self.assertEqual(self._dict[key], f[key])
60-
60+
6161
def keys_helper(self, f):
6262
keys = f.keys()
6363
keys.sort()

Lib/test/test_hmac.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def test_withmodule(self):
4545
h = hmac.HMAC("key", "", sha)
4646
except:
4747
self.fail("Constructor call with sha module raised exception.")
48-
48+
4949
class SanityTestCase(unittest.TestCase):
5050
def test_default_is_md5(self):
5151
"""Testing if HMAC defaults to MD5 algorithm."""
@@ -106,4 +106,3 @@ def test_main():
106106

107107
if __name__ == "__main__":
108108
test_main()
109-

Lib/test/test_pep247.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# Test suite to check compliance with PEP 247, the standard API for
3-
# hashing algorithms.
3+
# hashing algorithms.
44
#
55

66
import md5, sha, hmac

0 commit comments

Comments
 (0)
X Tutup