From 9b3cd15c5fe23101a78063a9887fd83fb5d41d76 Mon Sep 17 00:00:00 2001 From: Peter Law Date: Fri, 24 Jul 2020 15:01:40 +0100 Subject: [PATCH] Fix type clash --- jedi/inference/sys_path.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jedi/inference/sys_path.py b/jedi/inference/sys_path.py index b7457e88..5eff58de 100644 --- a/jedi/inference/sys_path.py +++ b/jedi/inference/sys_path.py @@ -14,8 +14,8 @@ from jedi import debug _BUILDOUT_PATH_INSERTION_LIMIT = 10 -def _abs_path(module_context, path: str): - path = Path(path) +def _abs_path(module_context, str_path: str): + path = Path(str_path) if path.is_absolute(): return path