4 ms·
Comments are available after tokenisation (https://docs.python.org/2/library/tokenize.html https://docs.python.org/2/library/tokenize.html). They're indeed not
by carlio 12y ago
Comments are available after tokenisation (https://docs.python.org/2/library/tokenize.html https://docs.python.org/2/library/tokenize.html). They're indeed not in the AST but you can get at them for analysis.