[Python-checkins] python/dist/src/Doc/lib libdifflib.tex,1.14,1.15

rhettinger@users.sourceforge.net rhettinger@users.sourceforge.net
Wed, 11 Jun 2003 00:50:48 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv11435

Modified Files:
	libdifflib.tex 
Log Message:
Add docs for get_grouped_opcodes().

Index: libdifflib.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libdifflib.tex,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** libdifflib.tex	9 Jun 2003 21:44:59 -0000	1.14
--- libdifflib.tex	11 Jun 2003 07:50:44 -0000	1.15
***************
*** 82,86 ****
  
    \file{Tools/scripts/diff.py} is a command-line front-end for this
!   function.  
  \end{funcdesc}  
  
--- 82,88 ----
  
    \file{Tools/scripts/diff.py} is a command-line front-end for this
!   function.
! 
!   \versionadded{2.3}
  \end{funcdesc}  
  
***************
*** 213,217 ****
  
    \file{Tools/scripts/diff.py} is a command-line front-end for this
!   function.  
  \end{funcdesc} 
  
--- 215,221 ----
  
    \file{Tools/scripts/diff.py} is a command-line front-end for this
!   function.
! 
!   \versionadded{2.3}  
  \end{funcdesc} 
  
***************
*** 396,399 ****
--- 400,414 ----
   insert a[6:6] () b[5:6] (f)
  \end{verbatim}
+ \end{methoddesc}
+ 
+ \begin{methoddesc}{get_grouped_opcodes}{\optional{n}}
+   Return a generator of groups with up to \var{n} lines of context.
+ 
+   Starting with the groups returned by \method{get_opcodes()},
+   this method splits out smaller change clusters and eliminates
+   intervening ranges which have no changes.
+ 
+   The groups are returned in the same format as \method{get_opcodes()}.
+   \versionadded{2.3}			    
  \end{methoddesc}