--- a/src/eric7/SystemUtilities/PythonUtilities.py Wed Dec 20 19:28:22 2023 +0100 +++ b/src/eric7/SystemUtilities/PythonUtilities.py Thu Dec 21 12:03:40 2023 +0100 @@ -55,7 +55,8 @@ """ Function to determine the path to Python's library. - @return path to the Python library (string) + @return path to the Python library + @rtype str """ return sysconfig.get_path("platstdlib") @@ -64,7 +65,8 @@ """ Function to get the Python version (major, minor) as an integer value. - @return An integer representing major and minor version number (integer) + @return integer representing major and minor version number + @rtype int """ return sys.hexversion >> 16 @@ -73,11 +75,14 @@ """ Function to determine the python version of a given file. - @param filename name of the file with extension (str) - @param source of the file (str) - @param editor reference to the editor, if the file is opened - already (Editor object) - @return Python version if file is Python3 (int) + @param filename name of the file with extension + @type str + @param source of the file + @type str + @param editor reference to the editor, if the file is opened already + @type Editor + @return Python version if file is Python3 + @rtype int """ from eric7 import Preferences, Utilities from eric7.EricWidgets.EricApplication import ericApp