token_utils.utils
utils.py
A collection of various functions
Functions
|
Given a list of tokens, produces an equivalent list corresponding to a line of code with the first nb characters removed. |
|
DEPRECATED |
|
DEPRECATED |
|
DEPRECATED |
|
DEPRECATED |
|
DEPRECATED |
|
Given a list of tokens, produces an equivalent list corresponding to a line of code with nb space characters inserted at the beginning. |
|
Similar to itertools.pairwise (Python 3.10+). |
|
Collect data into overlapping fixed-length chunks or blocks. |