commit | 9f146819598013046dfb4d24ef4f2a748e6c5930 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Sat Apr 27 00:20:04 2013 +0200 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Sat Apr 27 00:20:04 2013 +0200 |
tree | 468d30a5220017c04229325c3ce3d29677db71b6 | |
parent | 3da670749a25a9ea068c427f6b03812b92e75d13 [diff] [blame] |
Issue #17804: New function ``struct.iter_unpack`` allows for streaming struct unpacking.
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',