eric7/QScintilla/Editor.py

branch
eric7
changeset 8334
c113428ecff3
parent 8322
b422b4e77d19
child 8344
7ce014e02cfb
equal deleted inserted replaced
8333:12948ec78ca0 8334:c113428ecff3
2078 2078
2079 @return flag indicating a Python3 file (boolean) 2079 @return flag indicating a Python3 file (boolean)
2080 """ 2080 """
2081 return self.__getPyVersion() == 3 2081 return self.__getPyVersion() == 3
2082 2082
2083 def isPy2File(self):
2084 """
2085 Public method to return a flag indicating a Python2 file.
2086
2087 @return flag reporting always False
2088 @rtype bool
2089 """
2090 # kept to keep the API compatible for plugins
2091 return False
2092
2093 def isPy3File(self): 2083 def isPy3File(self):
2094 """ 2084 """
2095 Public method to return a flag indicating a Python3 file. 2085 Public method to return a flag indicating a Python3 file.
2096 2086
2097 @return flag indicating a Python3 file (boolean) 2087 @return flag indicating a Python3 file (boolean)

eric ide

mercurial