diff -r 12948ec78ca0 -r c113428ecff3 eric7/QScintilla/Editor.py --- a/eric7/QScintilla/Editor.py Thu May 20 19:16:58 2021 +0200 +++ b/eric7/QScintilla/Editor.py Thu May 20 19:18:19 2021 +0200 @@ -2080,16 +2080,6 @@ """ return self.__getPyVersion() == 3 - def isPy2File(self): - """ - Public method to return a flag indicating a Python2 file. - - @return flag reporting always False - @rtype bool - """ - # kept to keep the API compatible for plugins - return False - def isPy3File(self): """ Public method to return a flag indicating a Python3 file.