gobject-introspection r761 - trunk/giscanner



Author: walters
Date: Mon Oct 20 20:54:24 2008
New Revision: 761
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=761&view=rev

Log:
Fix __repr__ for Property


Modified:
   trunk/giscanner/ast.py

Modified: trunk/giscanner/ast.py
==============================================================================
--- trunk/giscanner/ast.py	(original)
+++ trunk/giscanner/ast.py	Mon Oct 20 20:54:24 2008
@@ -407,9 +407,9 @@
         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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]