4 ms·
It should basically read the token stream instead of the text. For Python that includes indent and dedent tokens, which are equivalent to open and close bracket
by qznc 12y ago
It should basically read the token stream instead of the text. For Python that includes indent and dedent tokens, which are equivalent to open and close brackets.
- kryptiskt 12y agoMaybe it suffices to just say "end if/for/def/class/etc" at the end of each block.