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) |