Skip to content

Commit 3625a8f

Browse files
authored
type ignore assignment in fix_sphinx_issue_1147.py (#245)
1 parent d91eacc commit 3625a8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sphinx_immaterial/apidoc/fix_sphinx_issue_11147.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ def nested_parse_with_titles(state, content, node):
2727
with sphinx.util.docutils.switch_source_input(state, content):
2828
return orig_nested_parse_with_titles(state, content, node)
2929

30-
sphinx.util.nodes.nested_parse_with_titles = nested_parse_with_titles
31-
sphinx.directives.nested_parse_with_titles = nested_parse_with_titles
30+
sphinx.util.nodes.nested_parse_with_titles = nested_parse_with_titles # type: ignore[assignment]
31+
sphinx.directives.nested_parse_with_titles = nested_parse_with_titles # type: ignore[assignment]
3232

3333

3434
_monkey_patch_nested_parse_with_titles()

0 commit comments

Comments
 (0)