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 |