view Lib/struct.py @ 65589:46bbbdcd777f

Refactor interesting use of try-finally.
author Georg Brandl <georg@python.org>
date Fri, 22 Oct 2010 06:35:59 +0000
parents bd86bba5ed33
children 4f94873846a3
line wrap: on
line source

__all__ = [
    # Functions
    'calcsize', 'pack', 'unpack', 'unpack', 'unpack_from',

    # Classes
    'Struct',

    # Exceptions
    'error'
    ]

from _struct import *
from _struct import _clearcache
from _struct import __doc__