src/eric7/Plugins/VcsPlugins/vcsPySvn/SvnUtilities.py

branch
eric7
changeset 10438
4cd7e5a8b3cf
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
diff -r 2f70ca07f0af -r 4cd7e5a8b3cf src/eric7/Plugins/VcsPlugins/vcsPySvn/SvnUtilities.py
--- a/src/eric7/Plugins/VcsPlugins/vcsPySvn/SvnUtilities.py	Fri Dec 22 19:45:17 2023 +0100
+++ b/src/eric7/Plugins/VcsPlugins/vcsPySvn/SvnUtilities.py	Sat Dec 23 15:40:23 2023 +0100
@@ -21,8 +21,10 @@
     """
     Module function to return a formatted time string.
 
-    @param seconds time in seconds since epoch to be formatted (float or long)
-    @return formatted time string (string)
+    @param seconds time in seconds since epoch to be formatted
+    @type float or int
+    @return formatted time string
+    @rtype str
     """
     return (
         QDateTime.fromSecsSinceEpoch(int(seconds))
@@ -35,8 +37,10 @@
     """
     Module function to return the date.
 
-    @param seconds time in seconds since epoch to be formatted (float or long)
-    @return date (QDate)
+    @param seconds time in seconds since epoch to be formatted
+    @type float or int
+    @return date
+    @rtype QDate
     """
     return (
         QDateTime.fromSecsSinceEpoch(int(seconds))
@@ -49,7 +53,8 @@
     """
     Module function to get the filename of the servers file.
 
-    @return filename of the servers file (string)
+    @return filename of the servers file
+    @rtype str
     """
     if OSUtilities.isWindowsPlatform():
         appdata = os.environ["APPDATA"]
@@ -63,7 +68,8 @@
     """
     Module function to get the filename of the config file.
 
-    @return filename of the config file (string)
+    @return filename of the config file
+    @rtype str
     """
     if OSUtilities.isWindowsPlatform():
         appdata = os.environ["APPDATA"]

eric ide

mercurial