def getPackageChildName(module, childName):
    baseName = module.__name__

    if childName == "__init__":
        return baseName

    if not hasattr(module, "__path__") and baseName in ".":
        baseName,x = baseName.rsplit(".", 1)

    if baseName:
        return baseName + "." + childName
    else:
        return childName
        
# **************************************************************************************************
dataset/ETHPy150Open joehewitt/devon/devon/importing.py/getPackageChildName/swapped operands of `in`