def _modname(path):
    """Return a plausible module name for the path"""
    base = os.path.basename(path)
    filename, ext = os.path.splitext(base)
    return filename
Return a plausible module name for the path
debugger/src/_pydevd_bundle/pydevd_signature.py