unit test fix
authorStefan Behnel <scoder@users.berlios.de>
Fri, 28 Nov 2008 11:08:02 +0000 (12:08 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 28 Nov 2008 11:08:02 +0000 (12:08 +0100)
Cython/Compiler/Visitor.py

index fd1d516ff1c89b43643444b36f7702e12b61f323..cf65c1ae22ef8439f7fcbc279d96e54894206ca8 100644 (file)
@@ -60,7 +60,7 @@ class TreeVisitor(BasicVisitor):
     
     Example:
     
-    >>> class SampleNode:
+    >>> class SampleNode(object):
     ...     child_attrs = ["head", "body"]
     ...     def __init__(self, value, head=None, body=None):
     ...         self.value = value