diff options
Diffstat (limited to 'pylint/checkers/utils.py')
-rw-r--r-- | pylint/checkers/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pylint/checkers/utils.py b/pylint/checkers/utils.py index b57820b..9c28aac 100644 --- a/pylint/checkers/utils.py +++ b/pylint/checkers/utils.py @@ -46,7 +46,7 @@ ABC_METHODS = set(('abc.abstractproperty', 'abc.abstractmethod', # * tuple: this are the odd ones. Basically it means that the function # can work with any number of arguments from that tuple, # although it's best to implement it in order to accept -# all of them. +# all of them. _SPECIAL_METHODS_PARAMS = { None: ('__new__', '__init__', '__call__'), @@ -78,7 +78,7 @@ _SPECIAL_METHODS_PARAMS = { (0, 1): ('__round__', ), } -SPECIAL_METHODS_PARAMS = { +SPECIAL_METHODS_PARAMS = { name: params for params, methods in _SPECIAL_METHODS_PARAMS.items() for name in methods |