Changeset 3099:d8d86527a072 in livinglogic.python.xist
- Timestamp:
- 01/02/08 20:21:13 (12 years ago)
- Author:
- Walter Doerwald <walter@…>
- Branch:
- default
- Message:
-
Remove wrong example from docstring.
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
r3098
|
r3099
|
|
394 | 394 | <prompt>>>> </prompt><input>from ll.xist.ns import html, xml</input> |
395 | 395 | <prompt>>>> </prompt><input>doc = parsers.parseurl("http://www.python.org", tidy=True)</input> |
396 | | <prompt>>>> </prompt><input>for node in doc.walknode(<em>xfind.onlyoftype & xsc.Element</em>):</input> |
397 | | <prompt>... </prompt><input>\tprint repr(node)</input> |
398 | | <prompt>... </prompt><input></input> |
399 | | <![CDATA[<ll.xist.ns.html.html element object (2 children/1 attr) (from http://www.python.org/:4:?) at 0xb6d6e7ec> |
400 | | <ll.xist.ns.html.head element object (13 children/no attrs) (from http://www.python.org/:6:?) at 0xb6cc1f8c> |
401 | | <ll.xist.ns.html.title element object (1 child/no attrs) (from http://www.python.org/:8:?) at 0xb6d79b8c> |
402 | | <ll.xist.ns.html.body element object (19 children/no attrs) (from http://www.python.org/:26:?) at 0xb6d7282c>]]> |
403 | | <rep>...</rep> |
404 | 396 | <prompt>>>> </prompt><input>for node in doc.walknode(<em>xfind.hasattr(xml.Attrs.lang</em>):</input> |
405 | 397 | <prompt>... </prompt><input>\tprint repr(node)</input> |