runmanager.remove_comments_and_tokenify

runmanager.remove_comments_and_tokenify(src)[source]

Removes comments from source code, leaving it otherwise intact, and returns it. Also returns the raw tokens for the code, allowing comparisons between source to be made without being sensitive to whitespace.