diff options
author | Brian Kearns <bdkearns@gmail.com> | 2013-03-08 05:54:25 -0500 |
---|---|---|
committer | Brian Kearns <bdkearns@gmail.com> | 2013-03-08 05:54:25 -0500 |
commit | 399588595ef8b87d11af4ebb095ce41859c1c200 (patch) | |
tree | 8b784dd45886f324f392f2890168279bc40cc12e /lib_pypy/_sha.py | |
parent | more datetime cleanups (diff) | |
download | pypy-399588595ef8b87d11af4ebb095ce41859c1c200.tar.gz pypy-399588595ef8b87d11af4ebb095ce41859c1c200.tar.bz2 pypy-399588595ef8b87d11af4ebb095ce41859c1c200.zip |
reduce diff with py3k
Diffstat (limited to 'lib_pypy/_sha.py')
-rw-r--r-- | lib_pypy/_sha.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_pypy/_sha.py b/lib_pypy/_sha.py index cde0a56bcc..de7d11cf7d 100644 --- a/lib_pypy/_sha.py +++ b/lib_pypy/_sha.py @@ -35,7 +35,7 @@ def _long2bytesBigEndian(n, blocksize=0): """ # After much testing, this algorithm was deemed to be the fastest. - s = '' + s = b'' pack = struct.pack while n > 0: s = pack('>I', n & 0xffffffff) + s |