summaryrefslogtreecommitdiffstats
path: root/Lib/hashlib.py
diff options
context:
space:
mode:
authorluzpaz <luzpaz@users.noreply.github.com>2017-11-05 13:37:50 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2017-11-05 13:37:50 (GMT)
commita5293b4ff2c1b5446947b4986f98ecf5d52432d4 (patch)
treebe2f5e686be63814c02eabc61a899631ec7a08ac /Lib/hashlib.py
parentcf296537f164abeacd83011239881f75f290ed31 (diff)
downloadcpython-a5293b4ff2c1b5446947b4986f98ecf5d52432d4.zip
cpython-a5293b4ff2c1b5446947b4986f98ecf5d52432d4.tar.gz
cpython-a5293b4ff2c1b5446947b4986f98ecf5d52432d4.tar.bz2
Fix miscellaneous typos (#4275)
Diffstat (limited to 'Lib/hashlib.py')
-rw-r--r--Lib/hashlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/hashlib.py b/Lib/hashlib.py
index 053a7ad..e30c610 100644
--- a/Lib/hashlib.py
+++ b/Lib/hashlib.py
@@ -218,7 +218,7 @@ except ImportError:
from_bytes = int.from_bytes
while len(dkey) < dklen:
prev = prf(salt + loop.to_bytes(4, 'big'))
- # endianess doesn't matter here as long to / from use the same
+ # endianness doesn't matter here as long to / from use the same
rkey = int.from_bytes(prev, 'big')
for i in range(iterations - 1):
prev = prf(prev)