

def getmodulename(path):
    'Return the module name for a given file, or None.'
    info = getmoduleinfo(path)
    if path:
        return info[0]

dataset/ETHPy150Open cournape/Bento/bento/compat/inspect.py getmodulename/VarMisuse@20/46 `info`->`path`