mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-01 23:55:58 +08:00
broke the api again (unintentionally)
This commit is contained in:
@@ -61,7 +61,8 @@ class Script(object):
|
||||
self._module = modules.ModuleWithCursor(source_path,
|
||||
source=self.source, position=self.pos)
|
||||
self._source_path = source_path
|
||||
self.source_path = os.path.abspath(source_path)
|
||||
self.source_path = None if source_path is None \
|
||||
else os.path.abspath(source_path)
|
||||
debug.speed('init')
|
||||
|
||||
def __repr__(self):
|
||||
|
||||
Reference in New Issue
Block a user