(self, text)
| 398 | return next(tokens)[1] |
| 399 | |
| 400 | def python_tokens(self, text): |
| 401 | i = iter([text]) |
| 402 | readline = lambda: next(i) |
| 403 | tokens = tokenize.generate_tokens(readline) |
| 404 | return [t[1] for t in tokens] |
| 405 | |
| 406 | def read_indented_block(self, text, indent): |
| 407 | r"""Read a block of text. A block is what typically follows a for or it statement. |