annotate Lib/struct.py @ 71285:8bc9dbc61ba6 3.2

Issue #12326: document the recommended idiom for checking sys.platform on Unix systems. Also, point to the various alternatives.
author Antoine Pitrou <solipsis@pitrou.net>
date Sat, 09 Jul 2011 15:54:23 +0200
parents 4f94873846a3
children d232cff25bbd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
62296
bd86bba5ed33 Issue #8973: Add __all__ to struct module, so that help(struct) correctly
Mark Dickinson <dickinsm@gmail.com>
parents: 56418
diff changeset
1 __all__ = [
bd86bba5ed33 Issue #8973: Add __all__ to struct module, so that help(struct) correctly
Mark Dickinson <dickinsm@gmail.com>
parents: 56418
diff changeset
2 # Functions
67833
4f94873846a3 Issue #11081: Fixed struct.__all__. Reviewed by Georg Brandl.
Alexander Belopolsky <alexander.belopolsky@gmail.com>
parents: 62296
diff changeset
3 'calcsize', 'pack', 'pack_into', 'unpack', 'unpack_from',
62296
bd86bba5ed33 Issue #8973: Add __all__ to struct module, so that help(struct) correctly
Mark Dickinson <dickinsm@gmail.com>
parents: 56418
diff changeset
4
bd86bba5ed33 Issue #8973: Add __all__ to struct module, so that help(struct) correctly
Mark Dickinson <dickinsm@gmail.com>
parents: 56418
diff changeset
5 # Classes
bd86bba5ed33 Issue #8973: Add __all__ to struct module, so that help(struct) correctly
Mark Dickinson <dickinsm@gmail.com>
parents: 56418
diff changeset
6 'Struct',
bd86bba5ed33 Issue #8973: Add __all__ to struct module, so that help(struct) correctly
Mark Dickinson <dickinsm@gmail.com>
parents: 56418
diff changeset
7
bd86bba5ed33 Issue #8973: Add __all__ to struct module, so that help(struct) correctly
Mark Dickinson <dickinsm@gmail.com>
parents: 56418
diff changeset
8 # Exceptions
bd86bba5ed33 Issue #8973: Add __all__ to struct module, so that help(struct) correctly
Mark Dickinson <dickinsm@gmail.com>
parents: 56418
diff changeset
9 'error'
bd86bba5ed33 Issue #8973: Add __all__ to struct module, so that help(struct) correctly
Mark Dickinson <dickinsm@gmail.com>
parents: 56418
diff changeset
10 ]
bd86bba5ed33 Issue #8973: Add __all__ to struct module, so that help(struct) correctly
Mark Dickinson <dickinsm@gmail.com>
parents: 56418
diff changeset
11
44461
61c164f25435 Merged revisions 59696-59702 via svnmerge from
Christian Heimes <christian@cheimes.de>
parents: 43777
diff changeset
12 from _struct import *
61c164f25435 Merged revisions 59696-59702 via svnmerge from
Christian Heimes <christian@cheimes.de>
parents: 43777
diff changeset
13 from _struct import _clearcache
56418
dd94f1d8c9a5 Merged revisions 75284 via svnmerge from
Mark Dickinson <dickinsm@gmail.com>
parents: 44461
diff changeset
14 from _struct import __doc__