def qualifying_prefix(modname, qualname):
    """
    Returns a new string that is used for the first half of the mangled name.
    """
    # XXX choose a different convention for object mode
    return '{}.{}'.format(modname, qualname) if modname else qualname

    Returns a new string that is used for the first half of the mangled name.
    
numba/core/funcdesc.py