Commit e119006e authored by Tim Peters's avatar Tim Peters

Whitespace normalization. Top level of Lib now fixed-point for reindent.py!

parent b90f89a4
...@@ -29,7 +29,7 @@ class ConversionError(Error): ...@@ -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: ...@@ -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: ...@@ -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(): ...@@ -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()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment