Changeset 3802:31d1681d6be5 in livinglogic.python.xist

Show
Ignore:
Timestamp:
06/29/09 22:25:23 (10 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Fix docstrings.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/xist/xfind.py

    r3710 r3802  
    271271        >>> from ll.xist import parsers, xfind 
    272272        >>> doc = parsers.parseurl("http://www.python.org", tidy=True) 
    273         >>> for node in doc.walknode(<em>xfind.onlychild & html.a</em>): 
     273        >>> for node in doc.walknode(xfind.onlychild & html.a): 
    274274        ...     print node.bytes() 
    275275        ...  
     
    455455        >>> doc = parsers.parseurl("http://www.python.org", tidy=True) 
    456456        >>> for node in doc.walknode(xfind.attrcontains("rel", "stylesheet")): 
    457         ... \tprint repr(node) 
     457        ...     print repr(node) 
    458458        ...  
    459459        <a type="text/css" id="screen-switcher-stylesheet" media="screen" rel="stylesheet" href="http://www.python.org/styles/screen-switcher-default.css" />