src/eric7/SystemUtilities/PythonUtilities.py

branch
eric7
changeset 10834
6f5cb518cf13
parent 10439
21c28b0f9e41
child 10836
dc7f25f2f7e4
equal deleted inserted replaced
10833:4c8c1e51ffa6 10834:6f5cb518cf13
69 @rtype int 69 @rtype int
70 """ 70 """
71 return sys.hexversion >> 16 71 return sys.hexversion >> 16
72 72
73 73
74 # TODO: change this to a dummy function that always return the int value 3.
75 # TODO: change eric-ide sources to not use this function anymore.
74 def determinePythonVersion(filename, source, editor=None): 76 def determinePythonVersion(filename, source, editor=None):
75 """ 77 """
76 Function to determine the python version of a given file. 78 Function to determine the python version of a given file.
77 79
78 @param filename name of the file with extension 80 @param filename name of the file with extension

eric ide

mercurial