eric6/UI/CompareDialog.py

changeset 7988
c4c17121eff8
parent 7923
91e843545d9a
child 8043
0acf98cd089a
child 8143
2c730d5fd177
--- a/eric6/UI/CompareDialog.py	Sat Jan 16 16:32:01 2021 +0100
+++ b/eric6/UI/CompareDialog.py	Sat Jan 16 16:50:00 2021 +0100
@@ -34,8 +34,7 @@
     @param a first sequence of lines (list of strings)
     @param b second sequence of lines (list of strings)
     @param linenumberwidth width (in characters) of the linenumbers (integer)
-    @return a generator yielding tuples of differences. The tuple is composed
-        of strings as follows.
+    @yield tuples of differences. Each tuple is composed of strings as follows.
         <ul>
             <li>opcode -- one of e, d, i, r for equal, delete, insert,
                 replace</li>
@@ -44,7 +43,9 @@
             <li>lineno b -- linenumber of sequence b</li>
             <li>line b -- line of sequence b</li>
         </ul>
+    @ytype tuple of (str, str, str, str, str)
     """
+    # __IGNORE_WARNING_D234r__
     def removeMarkers(line):
         """
         Internal function to remove all diff markers.

eric ide

mercurial