tokenize not needed anymore in _compatibility

This commit is contained in:
David Halter
2012-11-02 18:12:22 +01:00
parent 299f52c04b
commit ed928d5d58
2 changed files with 5 additions and 8 deletions

View File

@@ -68,11 +68,6 @@ else:
eval(compile("""def exec_function(source, global_map):
exec source in global_map """, 'blub', 'exec'))
# tokenize function
# TODO remove this, not used anymore
import tokenize
tokenize_func = tokenize.generate_tokens
# StringIO (Python 2.5 has no io module), so use io only for py3k
try:
from StringIO import StringIO