6. patsy.tokens

6.1. Functions

StringIO StringIO([s]) – Return a StringIO-like stream for reading or writing
normalize_token_spacing(code)
pretty_untokenize(typed_tokens)
python_tokenize(code)
test_pretty_untokenize_and_normalize_token_spacing()
test_python_tokenize()

6.2. Classes

Origin(code, start, end) This represents the origin of some object in some string.

6.3. Exceptions

PatsyError(message[, origin]) This is the main error type raised by Patsy functions.