Skip to content

Commit

Permalink
Remove redundant method
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobandersen committed Jan 15, 2022
1 parent d4e2502 commit 0f2be81
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sphinx/ext/intersphinx.py
Expand Up @@ -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':
Expand Down

0 comments on commit 0f2be81

Please sign in to comment.