490 <dd> |
490 <dd> |
491 width (in characters) of the linenumbers (integer) |
491 width (in characters) of the linenumbers (integer) |
492 </dd> |
492 </dd> |
493 </dl> |
493 </dl> |
494 <dl> |
494 <dl> |
495 <dt>Returns:</dt> |
495 <dt>Yield:</dt> |
496 <dd> |
496 <dd> |
497 a generator yielding tuples of differences. The tuple is composed |
497 tuples of differences. Each tuple is composed of strings as follows. |
498 of strings as follows. |
|
499 <ul> |
498 <ul> |
500 <li>opcode -- one of e, d, i, r for equal, delete, insert, |
499 <li>opcode -- one of e, d, i, r for equal, delete, insert, |
501 replace</li> |
500 replace</li> |
502 <li>lineno a -- linenumber of sequence a</li> |
501 <li>lineno a -- linenumber of sequence a</li> |
503 <li>line a -- line of sequence a</li> |
502 <li>line a -- line of sequence a</li> |
504 <li>lineno b -- linenumber of sequence b</li> |
503 <li>lineno b -- linenumber of sequence b</li> |
505 <li>line b -- line of sequence b</li> |
504 <li>line b -- line of sequence b</li> |
506 </ul> |
505 </ul> |
507 </dd> |
506 </dd> |
508 </dl> |
507 </dl> |
|
508 <dl> |
|
509 <dt>Yield Type:</dt> |
|
510 <dd> |
|
511 tuple of (str, str, str, str, str) |
|
512 </dd> |
|
513 </dl> |
509 <div align="right"><a href="#top">Up</a></div> |
514 <div align="right"><a href="#top">Up</a></div> |
510 <hr /> |
515 <hr /> |
511 </body></html> |
516 </body></html> |