def qualifying_prefix(modname, qualname):
 return ('{}.{}'.format(modname, qualname) if modname else qualname)

def qualifying_prefix ( modname , qualname ) : return ( '{}.{}' . format ( modname , qualname ) if modname else qualname )
returns a new string that is used for the first half of the mangled name .