def to_relative_path(path):
    folders = sublime.active_window().folders()
    for folder in folders:
        # close path with separator
        if folder[-1] != os.path.sep:
            folder += os.path.sep

        if path.startswith(folder):
            return path.replace(folder, '')

    return path
Return the MP version of C{(x ** y) % z}.
dataset/ETHPy150Open srusskih/SublimeJEDI/sublime_jedi/utils.py/to_relative_path--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/conch/ssh/common.py/_MPpow