diff options
Diffstat (limited to 'sphinx/domains/changeset.py')
-rw-r--r-- | sphinx/domains/changeset.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sphinx/domains/changeset.py b/sphinx/domains/changeset.py index 23a3375ce..1b31e0248 100644 --- a/sphinx/domains/changeset.py +++ b/sphinx/domains/changeset.py @@ -94,7 +94,7 @@ class VersionChange(SphinxDirective): domain = cast(ChangeSetDomain, self.env.get_domain('changeset')) domain.note_changeset(node) - ret = [node] # type: List[Node] + ret: List[Node] = [node] ret += messages return ret @@ -105,9 +105,9 @@ class ChangeSetDomain(Domain): name = 'changeset' label = 'changeset' - initial_data = { + initial_data: Dict = { 'changes': {}, # version -> list of ChangeSet - } # type: Dict + } @property def changesets(self) -> Dict[str, List[ChangeSet]]: |