From 9589a2bc0531598cdd69f260f2f2c2dbc5852d6e Mon Sep 17 00:00:00 2001 From: Jakob Lykke Andersen Date: Sat, 15 Jan 2022 13:31:47 +0100 Subject: [PATCH] intersphinx role, remove redundant method --- sphinx/ext/intersphinx.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/sphinx/ext/intersphinx.py b/sphinx/ext/intersphinx.py index 50cc13251e4..5cbc59a9610 100644 --- a/sphinx/ext/intersphinx.py +++ b/sphinx/ext/intersphinx.py @@ -476,9 +476,6 @@ class IntersphinxDispatcher(CustomReSTDispatcher): This enables :external:***: roles on parsing reST document. """ - def __init__(self) -> None: - super().__init__() - def role(self, role_name: str, language_module: ModuleType, lineno: int, reporter: Reporter ) -> Tuple[RoleFunction, List[system_message]]: if role_name.split(':')[0] == 'external':