# Bring everything in from raw.ipo import * # Provide a way to reference the raw bindings that we're going to override import raw.ipo as raw_ipo class USAddress (raw_ipo.USAddress): def __str__ (self): return '''%s %s %s %s, %s''' % (self.name(), self.street(), self.city(), self.state(), self.zip()) pass raw_ipo.USAddress._SetSupersedingClass(USAddress)