Skip to content

Commit

Permalink
intersphinx role, remove redundant method
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobandersen committed Jan 16, 2022
1 parent 941db55 commit 9589a2b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sphinx/ext/intersphinx.py
Original file line number Diff line number Diff line change
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 9589a2b

Please sign in to comment.