def pyNamedObject(name):
    try:
        if sys.version[0] >= '3':
            import builtins
            return builtins.__dict__[name]
        else:
            import __builtin__
            return __builtin__.__dict__[name]
    except:
        return None
dataset/ETHPy150Open Arelle/Arelle/arelle/PythonUtil.py/pyNamedObject/original