def path_to_url(path):
    """Convert a system path to a URL."""

    if os.path.sep == '/':
        return path

    if (3, 0) < sys.version_info:
        path = path.encode('utf8')
    return pathname2url(path)
dataset/ETHPy150Open mkdocs/mkdocs/mkdocs/utils/__init__.py/path_to_url/swapped operands of `<`