mirror of
https://github.com/python/cpython.git
synced 2025-07-31 23:23:11 +00:00
Whitespace normalization.
This commit is contained in:
parent
beaec0c3a1
commit
f47b1cd839
1 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ def unpack(fmt, s):
|
||||||
except KeyError:
|
except KeyError:
|
||||||
o = _compile(fmt)
|
o = _compile(fmt)
|
||||||
return o.unpack(s)
|
return o.unpack(s)
|
||||||
|
|
||||||
def unpack_from(fmt, buf, offset=0):
|
def unpack_from(fmt, buf, offset=0):
|
||||||
"""
|
"""
|
||||||
Unpack the buffer, containing packed C structure data, according to
|
Unpack the buffer, containing packed C structure data, according to
|
||||||
|
@ -84,4 +84,4 @@ def unpack_from(fmt, buf, offset=0):
|
||||||
o = _cache[fmt]
|
o = _cache[fmt]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
o = _compile(fmt)
|
o = _compile(fmt)
|
||||||
return o.unpack_from(buf, offset)
|
return o.unpack_from(buf, offset)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue