1638 if lang == "Python2": |
1638 if lang == "Python2": |
1639 lang = "Python" |
1639 lang = "Python" |
1640 elif lang == "Python3": |
1640 elif lang == "Python3": |
1641 lang = "Python 3" |
1641 lang = "Python 3" |
1642 return lang |
1642 return lang |
|
1643 |
|
1644 def getApiLanguage(self): |
|
1645 """ |
|
1646 Public method to get the API language of the editor. |
|
1647 |
|
1648 @return API language |
|
1649 @rtype str |
|
1650 """ |
|
1651 return self.apiLanguage |
1643 |
1652 |
1644 def __bindCompleter(self, filename): |
1653 def __bindCompleter(self, filename): |
1645 """ |
1654 """ |
1646 Private slot to set the correct typing completer depending on language. |
1655 Private slot to set the correct typing completer depending on language. |
1647 |
1656 |