cpython/Lib/struct.py
Mark Dickinson 4b80ef5432 Issue #8973: Add __all__ to struct module, so that help(struct) correctly
displays information for the struct.Struct class.
2010-06-12 15:17:02 +00:00

15 lines
235 B
Python

__all__ = [
# Functions
'calcsize', 'pack', 'unpack', 'unpack', 'unpack_from',
# Classes
'Struct',
# Exceptions
'error'
]
from _struct import *
from _struct import _clearcache
from _struct import __doc__