| Home | Trees | Indices | Help |
|---|
|
|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
Provide a stream for the contents of the file. There is no
corresponding `from_path` because the opening and closing of the
path must be done outside the parsing (or the contents will become
unavailable), so use instead:
with open(path) as f:
parser.parse_file(f)
which will close the file after parsing.
|
iterable is a source of
(token_ids, sub_stream) tuples, where sub_stream will be
matched within the token.
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Sun May 13 16:31:07 2012 | http://epydoc.sourceforge.net |