Whitespace normalization. Top level of Lib now fixed-point for reindent.py!
This commit is contained in:
parent
b90f89a496
commit
e119006e7d
|
@ -29,7 +29,7 @@ class ConversionError(Error):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class Packer:
|
class Packer:
|
||||||
"""Pack various data representations into a buffer."""
|
"""Pack various data representations into a buffer."""
|
||||||
|
|
||||||
|
@ -106,7 +106,7 @@ class Packer:
|
||||||
self.pack_farray(n, list, pack_item)
|
self.pack_farray(n, list, pack_item)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class Unpacker:
|
class Unpacker:
|
||||||
"""Unpacks various data representations from the given buffer."""
|
"""Unpacks various data representations from the given buffer."""
|
||||||
|
|
||||||
|
@ -220,7 +220,7 @@ class Unpacker:
|
||||||
n = self.unpack_uint()
|
n = self.unpack_uint()
|
||||||
return self.unpack_farray(n, unpack_item)
|
return self.unpack_farray(n, unpack_item)
|
||||||
|
|
||||||
|
|
||||||
# test suite
|
# test suite
|
||||||
def _test():
|
def _test():
|
||||||
p = Packer()
|
p = Packer()
|
||||||
|
@ -274,6 +274,6 @@ def _test():
|
||||||
print 'ConversionError:', var.msg
|
print 'ConversionError:', var.msg
|
||||||
count = count + 1
|
count = count + 1
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
_test()
|
_test()
|
||||||
|
|
Loading…
Reference in New Issue