Changeset 2248:8cfa22761281 in livinglogic.python.xist

Show
Ignore:
Timestamp:
01/04/05 13:48:24 (15 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

How to update code with xfind.item(foo,...) if foo isn't an XFind
operator.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • MIGRATION.xml

    r2247 r2248  
    2323<lit>xfind.slice(<rep>foo</rep>, 1, -1)</lit> 
    2424with <lit>list(<rep>foo</rep>[1:-1])</lit>, if <lit><rep>foo</rep></lit> is 
    25 an XFind operator.</par> 
     25an XFind operator. Otherwise you can use <lit>list(<rep>foo</rep>)[1:-1]</lit></par> 
    2626</section> 
    2727