mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
The usual...
This commit is contained in:
parent
0b095bc092
commit
aad6761cce
56 changed files with 5040 additions and 656 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue