From: Stefan Behnel Date: Fri, 28 Nov 2008 11:08:02 +0000 (+0100) Subject: unit test fix X-Git-Tag: 0.11-beta~191 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=02e16427832bfd665c02b94d270728f89f07991b;p=cython.git unit test fix --- diff --git a/Cython/Compiler/Visitor.py b/Cython/Compiler/Visitor.py index fd1d516f..cf65c1ae 100644 --- a/Cython/Compiler/Visitor.py +++ b/Cython/Compiler/Visitor.py @@ -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