diff options
author | Brett Cannon <brett@python.org> | 2014-08-29 13:21:37 -0400 |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2014-08-29 13:21:37 -0400 |
commit | fea908c8e20aa3eac1bcaad18fecd4c68cfc9b05 (patch) | |
tree | f86e66efe19241b6a3fec59a5368c07ee497f2ed /checkers/base.py | |
parent | 45172520702065f9eb36e346be4b3c2f17c1c62b (diff) | |
download | pylint-fea908c8e20aa3eac1bcaad18fecd4c68cfc9b05.tar.gz |
Fix a incorrect use of sys.maxint by using sys.maxsize
Diffstat (limited to 'checkers/base.py')
-rw-r--r-- | checkers/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/checkers/base.py b/checkers/base.py index b5e96fb..98e5a58 100644 --- a/checkers/base.py +++ b/checkers/base.py @@ -974,7 +974,7 @@ class NameChecker(_BasicChecker): if len(all_groups) < 2: continue groups = collections.defaultdict(list) - min_warnings = sys.maxint + min_warnings = sys.maxsize for group in six.itervalues(all_groups): groups[len(group)].append(group) min_warnings = min(len(group), min_warnings) |