summaryrefslogtreecommitdiffstats
path: root/Lib/xdrlib.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-01-15 03:34:38 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-01-15 03:34:38 (GMT)
commite119006e7dc0df0a5ff6b60764b2ce3cd9477688 (patch)
treeb4c578be7bff079625b7cdc36abb1d4f0b46d8fa /Lib/xdrlib.py
parentb90f89a496676ec714e111a747344600f3988496 (diff)
downloadcpython-e119006e7dc0df0a5ff6b60764b2ce3cd9477688.zip
cpython-e119006e7dc0df0a5ff6b60764b2ce3cd9477688.tar.gz
cpython-e119006e7dc0df0a5ff6b60764b2ce3cd9477688.tar.bz2
Whitespace normalization. Top level of Lib now fixed-point for reindent.py!
Diffstat (limited to 'Lib/xdrlib.py')
-rw-r--r--Lib/xdrlib.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/xdrlib.py b/Lib/xdrlib.py
index c97975d..621f295 100644
--- a/Lib/xdrlib.py
+++ b/Lib/xdrlib.py
@@ -29,7 +29,7 @@ class ConversionError(Error):
pass
-
+
class Packer:
"""Pack various data representations into a buffer."""
@@ -106,7 +106,7 @@ class Packer:
self.pack_farray(n, list, pack_item)
-
+
class Unpacker:
"""Unpacks various data representations from the given buffer."""
@@ -220,7 +220,7 @@ class Unpacker:
n = self.unpack_uint()
return self.unpack_farray(n, unpack_item)
-
+
# test suite
def _test():
p = Packer()
@@ -274,6 +274,6 @@ def _test():
print 'ConversionError:', var.msg
count = count + 1
-
+
if __name__ == '__main__':
_test()