VirtualEnv/VirtualenvInterpreterSelectionDialog.py

changeset 6349
17b3c75913de
parent 6337
c6af560e0039
child 6645
ad476851d7e0
equal deleted inserted replaced
6348:d6c0b8ab1fc6 6349:17b3c75913de
71 71
72 def getData(self): 72 def getData(self):
73 """ 73 """
74 Public method to get the entered data. 74 Public method to get the entered data.
75 75
76 @return path of the selected Python interpreter 76 @return tuple containing the path of the selected Python interpreter
77 @rtype str 77 and the Python variant
78 @rtype tuple of (str, int)
78 """ 79 """
79 return self.pythonExecPicker.text() 80 return (
81 self.pythonExecPicker.text(),
82 3 - self.variantComboBox.currentIndex(),
83 )

eric ide

mercurial