mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +08:00
Don't remove sys.path[0].
Fixes https://github.com/davidhalter/jedi/issues/2053.
This commit is contained in:
@@ -3,10 +3,6 @@ import sys
|
|||||||
from importlib.abc import MetaPathFinder
|
from importlib.abc import MetaPathFinder
|
||||||
from importlib.machinery import PathFinder
|
from importlib.machinery import PathFinder
|
||||||
|
|
||||||
# Remove the first entry, because it's simply a directory entry that equals
|
|
||||||
# this directory.
|
|
||||||
del sys.path[0]
|
|
||||||
|
|
||||||
|
|
||||||
def _get_paths():
|
def _get_paths():
|
||||||
# Get the path to jedi.
|
# Get the path to jedi.
|
||||||
|
|||||||
Reference in New Issue
Block a user