| Home | Trees | Indices | Help | 
 | 
|---|
|  | 
object --+
         |
        ElementTextIterator
ElementTextIterator(self, element, tag=None, with_tail=True) Iterates over the text content of a subtree.
You can pass the tag keyword argument to restrict text content to a specific tag name.
You can set the with_tail keyword argument to False to skip over tail text (e.g. if you know that it's only whitespace from pretty-printing).
| 
 | |||
| 
 | |||
| a new object with type S, a subtype of T | 
 | ||
| 
 | |||
| the next value, or raise StopIteration | 
 | ||
| Inherited from  | |||
| 
 | |||
| Inherited from  | |||
| 
 | |||
| 
 
 | 
| Home | Trees | Indices | Help | 
 | 
|---|
| Generated by Epydoc 3.0.1 on Sat Jun 3 17:42:30 2017 | http://epydoc.sourceforge.net |