summaryrefslogtreecommitdiff
path: root/sphinx/directives/patches.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-12-04 01:52:07 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-12-15 02:42:43 +0900
commit9dfc5e7efe599a6a0b5fdbeaf74b0fed29ba5bd6 (patch)
treebde502558f9c5f44eda814459826901797064085 /sphinx/directives/patches.py
parent53917f228f9bfbb4607b6441119baeb129869b93 (diff)
downloadsphinx-git-9dfc5e7efe599a6a0b5fdbeaf74b0fed29ba5bd6.tar.gz
Add docutils-stubs to test deps
Diffstat (limited to 'sphinx/directives/patches.py')
-rw-r--r--sphinx/directives/patches.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/directives/patches.py b/sphinx/directives/patches.py
index e4088af07..1b9d52ac7 100644
--- a/sphinx/directives/patches.py
+++ b/sphinx/directives/patches.py
@@ -62,10 +62,10 @@ class Meta(html.Meta, SphinxDirective):
meta = node.details['nodes'][0]
meta.source = self.env.doc2path(self.env.docname)
meta.line = self.lineno
- meta.rawcontent = meta['content']
+ meta.rawcontent = meta['content'] # type: ignore
# docutils' meta nodes aren't picklable because the class is nested
- meta.__class__ = addnodes.meta
+ meta.__class__ = addnodes.meta # type: ignore
return result