eric6/UI/DiffDialog.py

changeset 7639
422fd05e9c91
parent 7360
9190402e4505
child 7770
49f3377aebf1
diff -r 176145438b1e -r 422fd05e9c91 eric6/UI/DiffDialog.py
--- a/eric6/UI/DiffDialog.py	Thu Jun 25 19:09:55 2020 +0200
+++ b/eric6/UI/DiffDialog.py	Sat Jun 27 12:08:12 2020 +0200
@@ -27,9 +27,6 @@
 
 from difflib import SequenceMatcher
 
-# This function is copied from python 2.3 and slightly modified.
-# The header lines contain a tab after the filename.
-
 
 def unified_diff(a, b, fromfile='', tofile='', fromfiledate='',
                  tofiledate='', n=3, lineterm='\n'):
@@ -107,9 +104,6 @@
                 for line in b[j1:j2]:
                     yield '+' + line
 
-# This function is copied from python 2.3 and slightly modified.
-# The header lines contain a tab after the filename.
-
 
 def context_diff(a, b, fromfile='', tofile='',
                  fromfiledate='', tofiledate='', n=3, lineterm='\n'):

eric ide

mercurial