Sophie

Sophie

distrib > Mageia > 7 > x86_64 > by-pkgid > 31f25c3687ae280d7aae49073301a340 > files > 732

python3-pyxb-1.2.6-2.mga7.noarch.rpm

# Bring everything in
from raw.ipo import *
from pyxb.utils import six

# Provide a way to reference the raw bindings that we're going to override
import raw.ipo as raw_ipo

@six.python_2_unicode_compatible
class USAddress (raw_ipo.USAddress):
    def __str__ (self):
        return six.u('''%s
%s
%s %s, %s''') % (self.name, self.street, self.city, self.state, self.zip)
    pass
raw_ipo.USAddress._SetSupersedingClass(USAddress)