diff options
Diffstat (limited to 'sphinx/domains/changeset.py')
-rw-r--r-- | sphinx/domains/changeset.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/domains/changeset.py b/sphinx/domains/changeset.py index 31fa44020..40e46159c 100644 --- a/sphinx/domains/changeset.py +++ b/sphinx/domains/changeset.py @@ -76,7 +76,7 @@ class VersionChange(SphinxDirective): content += node[0].children node[0].replace_self(nodes.paragraph('', '', content, translatable=False)) - para = cast(nodes.paragraph, node[0]) + para = node[0] para.insert(0, nodes.inline('', '%s: ' % text, classes=classes)) elif len(node) > 0: # the contents do not starts with a paragraph |