diff -r 2fda68a9168d -r 5ac83a87954d scripts/uninstall.py --- a/scripts/uninstall.py Mon Dec 18 16:39:44 2023 +0100 +++ b/scripts/uninstall.py Mon Dec 18 17:45:20 2023 +0100 @@ -34,7 +34,8 @@ """ Exit the uninstall script. - @param rcode result code to report back (integer) + @param rcode result code to report back + @type int """ global currDir @@ -90,13 +91,16 @@ Create the platform specific names for the wrapper script. @param dname name of the directory to place the wrapper into + @type str @param wfile basename (without extension) of the wrapper script - @return the names of the wrapper scripts + @type str + @return list of names of the wrapper scripts + @rtype list of str """ wnames = ( - (dname + "\\" + wfile + ".cmd", dname + "\\" + wfile + ".bat") + [dname + "\\" + wfile + ".cmd", dname + "\\" + wfile + ".bat"] if sys.platform.startswith(("win", "cygwin")) - else (dname + "/" + wfile,) + else [dname + "/" + wfile] ) return wnames @@ -411,7 +415,8 @@ """ Module function to get the name of the directory storing the config data. - @return directory name of the config dir (string) + @return directory name of the config dir + @rtype str """ cdn = ".eric7" return os.path.join(os.path.expanduser("~"), cdn)