summaryrefslogtreecommitdiff
path: root/pylint/utils/docs.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/utils/docs.py')
-rw-r--r--pylint/utils/docs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/utils/docs.py b/pylint/utils/docs.py
index 56cecd7d1..75817d1a3 100644
--- a/pylint/utils/docs.py
+++ b/pylint/utils/docs.py
@@ -22,7 +22,7 @@ def _get_checkers_infos(linter: PyLinter) -> dict[str, dict[str, Any]]:
by_checker: dict[str, dict[str, Any]] = {}
for checker in linter.get_checkers():
name = checker.name
- if name != "master":
+ if name != MAIN_CHECKER_NAME:
try:
by_checker[name]["checker"] = checker
with warnings.catch_warnings():