summaryrefslogtreecommitdiffstats
path: root/Lib/struct.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-04-26 22:20:04 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2013-04-26 22:20:04 (GMT)
commit9f146819598013046dfb4d24ef4f2a748e6c5930 (patch)
tree468d30a5220017c04229325c3ce3d29677db71b6 /Lib/struct.py
parent3da670749a25a9ea068c427f6b03812b92e75d13 (diff)
downloadcpython-9f146819598013046dfb4d24ef4f2a748e6c5930.zip
cpython-9f146819598013046dfb4d24ef4f2a748e6c5930.tar.gz
cpython-9f146819598013046dfb4d24ef4f2a748e6c5930.tar.bz2
Issue #17804: New function ``struct.iter_unpack`` allows for streaming struct unpacking.
Diffstat (limited to 'Lib/struct.py')
-rw-r--r--Lib/struct.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/struct.py b/Lib/struct.py
index 9bfc23f..d6bba58 100644
--- a/Lib/struct.py
+++ b/Lib/struct.py
@@ -1,6 +1,7 @@
__all__ = [
# Functions
'calcsize', 'pack', 'pack_into', 'unpack', 'unpack_from',
+ 'iter_unpack',
# Classes
'Struct',