__all__ for several more modules

This commit is contained in:
Skip Montanaro 2001-02-12 02:00:42 +00:00
parent 81b6ae7ef7
commit c62c81e013
12 changed files with 35 additions and 0 deletions

View file

@ -6,6 +6,8 @@ This module has intimate knowledge of the format of .pyc files.
import imp
MAGIC = imp.get_magic()
__all__ = ["compile"]
def wr_long(f, x):
"""Internal; write a 32-bit int to a file in little-endian order."""
f.write(chr( x & 0xff))