Show More
@@ -101,9 +101,6 b' import time' | |||||
101 | import tokenize |
|
101 | import tokenize | |
102 | import traceback |
|
102 | import traceback | |
103 |
|
103 | |||
104 | try: # Python 2 |
|
|||
105 | generate_tokens = tokenize.generate_tokens |
|
|||
106 | except AttributeError: # Python 3 |
|
|||
107 |
|
|
104 | generate_tokens = tokenize.tokenize | |
108 |
|
105 | |||
109 | # For purposes of monkeypatching inspect to fix a bug in it. |
|
106 | # For purposes of monkeypatching inspect to fix a bug in it. |
General Comments 0
You need to be logged in to leave comments.
Login now