diff --git a/etg/gdicmn.py b/etg/gdicmn.py index f182266a3..04d45359b 100644 --- a/etg/gdicmn.py +++ b/etg/gdicmn.py @@ -339,7 +339,7 @@ def run(): c.addPyMethod('__len__', '(self)', 'return len(self.Get())') c.addPyMethod('__nonzero__', '(self)', 'return self.Get() != (0,0)') c.addPyMethod('__bool__', '(self)', 'return self.Get() != (0,0)') - c.addPyMethod('__reduce__', '(self)', 'return (Rect, self.Get())') + c.addPyMethod('__reduce__', '(self)', 'return (RealPoint, self.Get())') c.addPyMethod('__getitem__', '(self, idx)', 'return self.Get()[idx]') c.addPyMethod('__setitem__', '(self, idx, val)', """\