VirtualEnv/VirtualenvInterpreterSelectionDialog.py

changeset 6349
17b3c75913de
parent 6337
c6af560e0039
child 6645
ad476851d7e0
--- a/VirtualEnv/VirtualenvInterpreterSelectionDialog.py	Fri Jun 15 18:49:48 2018 +0200
+++ b/VirtualEnv/VirtualenvInterpreterSelectionDialog.py	Sat Jun 16 13:34:22 2018 +0200
@@ -73,7 +73,11 @@
         """
         Public method to get the entered data.
         
-        @return path of the selected Python interpreter
-        @rtype str
+        @return tuple containing the path of the selected Python interpreter
+            and the Python variant
+        @rtype tuple of (str, int)
         """
-        return self.pythonExecPicker.text()
+        return (
+            self.pythonExecPicker.text(),
+            3 - self.variantComboBox.currentIndex(),
+        )

eric ide

mercurial