diff options
Diffstat (limited to 'checkers/python3.py')
-rw-r--r-- | checkers/python3.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/checkers/python3.py b/checkers/python3.py index 8c5e125..1ca3f9c 100644 --- a/checkers/python3.py +++ b/checkers/python3.py @@ -267,6 +267,11 @@ class Python3Checker(checkers.BaseChecker): 'Used when the intern built-in is referenced ' '(Moved to sys.intern in Python 3)', {'maxversion': (3, 0)}), + 'W1635': ('unichr built-in referenced', + 'unichr-builtin', + 'Used when the unichr built-in is referenced ' + '(Use char in Python 3)', + {'maxversion': (3, 0)}), } _bad_builtins = frozenset([ @@ -284,6 +289,7 @@ class Python3Checker(checkers.BaseChecker): 'reduce', 'round', # Not missing, but incompatible semantics 'StandardError', + 'unichr', 'unicode', 'xrange', 'reload', |