diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-04-27 00:20:04 +0200 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-04-27 00:20:04 +0200 |
commit | 9f146819598013046dfb4d24ef4f2a748e6c5930 (patch) | |
tree | 468d30a5220017c04229325c3ce3d29677db71b6 /Lib/struct.py | |
parent | 3da670749a25a9ea068c427f6b03812b92e75d13 (diff) | |
download | cpython-git-9f146819598013046dfb4d24ef4f2a748e6c5930.tar.gz |
Issue #17804: New function ``struct.iter_unpack`` allows for streaming struct unpacking.
Diffstat (limited to 'Lib/struct.py')
-rw-r--r-- | Lib/struct.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/struct.py b/Lib/struct.py index 9bfc23f8d5..d6bba58863 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', |