From c4f8516517e13bf164809c9d58d701413807f8c1 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 18 Dec 2003 00:02:35 +0000 Subject: [PATCH] Fix __repr__ git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_colour.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wxPython/src/_colour.i b/wxPython/src/_colour.i index 97d24530a8..55af312eef 100644 --- a/wxPython/src/_colour.i +++ b/wxPython/src/_colour.i @@ -75,7 +75,7 @@ public: %pythoncode { asTuple = Get def __str__(self): return str(self.asTuple()) - def __repr__(self): return 'wxColour' + str(self.asTuple()) + def __repr__(self): return 'wx.Colour' + str(self.asTuple()) def __nonzero__(self): return self.Ok() def __getinitargs__(self): return () def __getstate__(self): return self.asTuple() -- 2.47.2