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 ad7fc2256..de29fb9b8 100644
--- a/pylint/constants.py
+++ b/pylint/constants.py
@@ -281,6 +281,7 @@ EXTRA_DUNDER_METHODS = [
"__getnewargs_ex__",
"__getnewargs__",
"__getstate__",
+ "__index__",
"__setstate__",
"__reduce__",
"__reduce_ex__",