eric6/Utilities/__init__.py

changeset 7900
72b88fb20261
parent 7849
70e464748aaa
child 7907
7991ea245c20
--- a/eric6/Utilities/__init__.py	Sat Dec 19 15:06:20 2020 +0100
+++ b/eric6/Utilities/__init__.py	Sat Dec 19 15:22:26 2020 +0100
@@ -283,7 +283,7 @@
     Function to read a file and decode its contents into proper text.
     
     @param filename name of the file to read (string)
-    @keyparam encoding encoding to be used to read the file (string)
+    @param encoding encoding to be used to read the file (string)
     @return tuple of decoded text and encoding (string, string)
     """
     with open(filename, "rb") as f:
@@ -692,9 +692,9 @@
     comment.
     
     @param line line to extract flags from (string)
-    @keyparam startComment string identifying the start of the comment (string)
-    @keyparam endComment string identifying the end of a comment (string)
-    @keyparam flagsLine flag indicating to check for a flags only line (bool)
+    @param startComment string identifying the start of the comment (string)
+    @param endComment string identifying the end of a comment (string)
+    @param flagsLine flag indicating to check for a flags only line (bool)
     @return list containing the extracted flags (list of strings)
     """
     flags = []
@@ -1559,7 +1559,7 @@
     
     @param filename name of the file with extension (str)
     @param source of the file (str)
-    @keyparam editor reference to the editor, if the file is opened
+    @param editor reference to the editor, if the file is opened
         already (Editor object)
     @return Python version if file is Python3 (int)
     """

eric ide

mercurial