summaryrefslogtreecommitdiffstatshomepage
path: root/tests/bytecode/pylib-tests/struct.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bytecode/pylib-tests/struct.py')
-rw-r--r--tests/bytecode/pylib-tests/struct.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/bytecode/pylib-tests/struct.py b/tests/bytecode/pylib-tests/struct.py
new file mode 100644
index 0000000000..9bfc23f8d5
--- /dev/null
+++ b/tests/bytecode/pylib-tests/struct.py
@@ -0,0 +1,14 @@
+__all__ = [
+ # Functions
+ 'calcsize', 'pack', 'pack_into', 'unpack', 'unpack_from',
+
+ # Classes
+ 'Struct',
+
+ # Exceptions
+ 'error'
+ ]
+
+from _struct import *
+from _struct import _clearcache
+from _struct import __doc__