summaryrefslogtreecommitdiff
path: root/pylint/constants.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/constants.py')
-rw-r--r--pylint/constants.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pylint/constants.py b/pylint/constants.py
index c6f40936b..5bf4abf5c 100644
--- a/pylint/constants.py
+++ b/pylint/constants.py
@@ -231,6 +231,7 @@ EXTRA_DUNDER_METHODS = [
"__getnewargs_ex__",
"__getnewargs__",
"__getstate__",
+ "__index__",
"__setstate__",
"__reduce__",
"__reduce_ex__",