summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdoc/exts/pylint_extensions.py4
-rw-r--r--pylint/message/message_handler_mix_in.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/exts/pylint_extensions.py b/doc/exts/pylint_extensions.py
index f740ac5ce..01ba8a2b1 100755
--- a/doc/exts/pylint_extensions.py
+++ b/doc/exts/pylint_extensions.py
@@ -68,8 +68,8 @@ def builder_inited(app):
"pylint.extensions.docstyle\n\n"
)
by_checker = get_plugins_info(linter, doc_files)
- for checker, info in sorted(by_checker.items()):
- linter._print_checker_doc(checker, info, stream=stream)
+ for checker, information in sorted(by_checker.items()):
+ linter._print_checker_doc(information, stream=stream)
def get_plugins_info(linter, doc_files):
diff --git a/pylint/message/message_handler_mix_in.py b/pylint/message/message_handler_mix_in.py
index 32b04112c..c34aceee0 100644
--- a/pylint/message/message_handler_mix_in.py
+++ b/pylint/message/message_handler_mix_in.py
@@ -385,7 +385,7 @@ Below is a list of all checkers and their features.
print(self.get_full_documentation()[:-1], file=stream)
@staticmethod
- def _print_checker_doc(checker, information, stream=None):
+ def _print_checker_doc(information, stream=None):
"""Helper method for print_full_documentation.
Also used by doc/exts/pylint_extensions.py.