diff options
author | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-06-21 15:26:50 +0300 |
---|---|---|
committer | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-06-21 15:26:50 +0300 |
commit | 92ababac24dd9fad12d250b0b8f8228947dc72d4 (patch) | |
tree | 49aed592302512062c29403ef7f07989f5782ffa /pylint/checkers/utils.py | |
parent | c3fa86d920340e2c70b100afa9557995c9700a68 (diff) | |
download | pylint-92ababac24dd9fad12d250b0b8f8228947dc72d4.tar.gz |
Add the new __matmul__ and __rmatmul__ dunder methods to the list of known special methods.
Diffstat (limited to 'pylint/checkers/utils.py')
-rw-r--r-- | pylint/checkers/utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pylint/checkers/utils.py b/pylint/checkers/utils.py index 583d341..f241b66 100644 --- a/pylint/checkers/utils.py +++ b/pylint/checkers/utils.py @@ -71,7 +71,8 @@ _SPECIAL_METHODS_PARAMS = { '__rand__', '__rxor__', '__ror__', '__iadd__', '__isub__', '__imul__', '__itruediv__', '__ifloordiv__', '__imod__', '__ilshift__', '__irshift__', '__iand__', '__ixor__', '__ior__', '__ipow__', - '__setstate__', '__reduce_ex__', '__deepcopy__', '__cmp__'), + '__setstate__', '__reduce_ex__', '__deepcopy__', '__cmp__', + '__matmul__', '__rmatmul__'), 2: ('__setattr__', '__get__', '__set__', '__setitem__'), |