Closed asottile closed 2 years ago
contrived example:
from sys import maxint print(maxint)
RefactoringTool: Refactored t.py --- t.py (original) +++ t.py (refactored) @@ -1,3 +1,5 @@ -from sys import maxint +from __future__ import absolute_import +from __future__ import print_function +from sys import maxsize print(maxint)
it didn't rewrite the reference to maxint
maxint
contrived example:
it didn't rewrite the reference to
maxint