def makeBuilder(options):
 if options.namespaces:
  return ExpatBuilderNS(options)
 else:
  return ExpatBuilder(options)

def makeBuilder ( options ) : if options . namespaces : return ExpatBuilderNS ( options ) else : return ExpatBuilder ( options )
create a builder based on an options object .