diff options
Diffstat (limited to 'sphinx/directives/patches.py')
-rw-r--r-- | sphinx/directives/patches.py | 4 |
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 |