The usual...

This commit is contained in:
Guido van Rossum 2000-05-08 17:31:04 +00:00
parent 0b095bc092
commit aad6761cce
56 changed files with 5040 additions and 656 deletions

View file

@ -7,7 +7,7 @@ import imp
MAGIC = imp.get_magic()
def wr_long(f, x):
"Internal; write a 32-bit int to a file in little-endian order."
"""Internal; write a 32-bit int to a file in little-endian order."""
f.write(chr( x & 0xff))
f.write(chr((x >> 8) & 0xff))
f.write(chr((x >> 16) & 0xff))