From aca7668da60db102bd4002dd3d97f8cb3622f638 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Mon, 17 Mar 2014 08:58:03 +0100 Subject: [PATCH] small internal change for Script, _source_path to _orig_path --- jedi/api/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jedi/api/__init__.py b/jedi/api/__init__.py index 77481305..d0c19a34 100644 --- a/jedi/api/__init__.py +++ b/jedi/api/__init__.py @@ -65,7 +65,7 @@ class Script(object): if source_path is not None: warnings.warn("Use path instead of source_path.", DeprecationWarning) path = source_path - self._source_path = path + self._orig_path = path self.path = None if path is None else os.path.abspath(path) if source is None: @@ -104,7 +104,7 @@ class Script(object): return self.path def __repr__(self): - return '<%s: %s>' % (self.__class__.__name__, repr(self._source_path)) + return '<%s: %s>' % (self.__class__.__name__, repr(self._orig_path)) def completions(self): """