diff options
Diffstat (limited to 'Lib/struct.py')
-rw-r--r-- | Lib/struct.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/struct.py b/Lib/struct.py index 648e39c2d7..b4f56bbbd1 100644 --- a/Lib/struct.py +++ b/Lib/struct.py @@ -73,7 +73,7 @@ def unpack(fmt, s): except KeyError: o = _compile(fmt) return o.unpack(s) - + def unpack_from(fmt, buf, offset=0): """ Unpack the buffer, containing packed C structure data, according to @@ -84,4 +84,4 @@ def unpack_from(fmt, buf, offset=0): o = _cache[fmt] except KeyError: o = _compile(fmt) - return o.unpack_from(buf, offset)
\ No newline at end of file + return o.unpack_from(buf, offset) |