From bf0169480d79f77b195a3ecf297c44e77b00e3c7 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Thu, 12 Apr 2018 08:58:06 +0200 Subject: [PATCH] Some docstrings --- jedi/api/environment.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/jedi/api/environment.py b/jedi/api/environment.py index 5db29ff6..40dbf8db 100644 --- a/jedi/api/environment.py +++ b/jedi/api/environment.py @@ -33,13 +33,17 @@ class _Environment(_BaseEnvironment): def __init__(self, path, executable): self.path = os.path.abspath(path) """ + The path to an environment, matches ``sys.prefix``. """ self.executable = os.path.abspath(executable) + """ + The Python executable, matches ``sys.executable``. + """ self.version_info = self._get_version() """ - :param version_info: Like sys.version_info. A tuple to show the current Environment's Python - version. + Like ``sys.version_info``. A tuple to show the current Environment's + Python version. """ def _get_version(self):