Fix __repr__ for Property
authorColin Walters <walters@src.gnome.org>
Mon, 20 Oct 2008 20:54:24 +0000 (20:54 +0000)
committerColin Walters <walters@src.gnome.org>
Mon, 20 Oct 2008 20:54:24 +0000 (20:54 +0000)
svn path=/trunk/; revision=761

giscanner/ast.py

index ba8ea8d..572f181 100644 (file)
@@ -407,9 +407,9 @@ class Property(Node):
         self.construct_only = construct_only
 
     def __repr__(self):
-        return '%s(%r, %r, %r)' % (
+        return '%s(%r, %r)' % (
             self.__class__.__name__,
-            self.name, self.type, self.value)
+            self.name, self.type)
 
 
 # FIXME: Inherit from Function