Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 1f34149679700274d273f929cf13b29a > files > 1175

PyXB-1.1.2-1.fc15.noarch.rpm

# 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)