diff options
| author | Adam Turner <9087854+aa-turner@users.noreply.github.com> | 2022-11-13 20:36:24 +0000 |
|---|---|---|
| committer | Adam Turner <9087854+aa-turner@users.noreply.github.com> | 2022-11-13 20:36:24 +0000 |
| commit | cd3f2e435000835dd98a11497440bc16a79ec31c (patch) | |
| tree | 6c89dfa43e74f4c47a3255f38ab013cc3cf997a1 /sphinx/environment | |
| parent | a6032e852a650c070aed66f0790e612905159f15 (diff) | |
| download | sphinx-git-cd3f2e435000835dd98a11497440bc16a79ec31c.tar.gz | |
Update typing ignores for mypy 0.990
Diffstat (limited to 'sphinx/environment')
| -rw-r--r-- | sphinx/environment/adapters/toctree.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/environment/adapters/toctree.py b/sphinx/environment/adapters/toctree.py index c8090d84b..0d3315f72 100644 --- a/sphinx/environment/adapters/toctree.py +++ b/sphinx/environment/adapters/toctree.py @@ -249,7 +249,7 @@ class TocTree: if hasattr(toctree, 'uid'): # move uid to caption_node to translate it caption_node.uid = toctree.uid # type: ignore - del toctree.uid # type: ignore + del toctree.uid newnode += caption_node newnode.extend(tocentries) newnode['toctree'] = True |
