mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
mypy fixes
This commit is contained in:
parent
a7fcc15683
commit
e46779ef15
@ -3478,7 +3478,7 @@ class AliasTransform(SphinxTransform):
|
||||
|
||||
if recurse:
|
||||
if skipThis:
|
||||
childContainer = nodes
|
||||
childContainer = nodes # type: Union[List[Node], addnodes.desc]
|
||||
else:
|
||||
content = addnodes.desc_content()
|
||||
desc = addnodes.desc()
|
||||
|
@ -7089,7 +7089,7 @@ class AliasTransform(SphinxTransform):
|
||||
|
||||
if recurse:
|
||||
if skipThis:
|
||||
childContainer = nodes
|
||||
childContainer = nodes # type: Union[List[Node], addnodes.desc]
|
||||
else:
|
||||
content = addnodes.desc_content()
|
||||
desc = addnodes.desc()
|
||||
|
Loading…
Reference in New Issue
Block a user