diff options
Diffstat (limited to 'sphinx/builders/changes.py')
-rw-r--r-- | sphinx/builders/changes.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sphinx/builders/changes.py b/sphinx/builders/changes.py index 87dd03fb8..5e51499f9 100644 --- a/sphinx/builders/changes.py +++ b/sphinx/builders/changes.py @@ -51,9 +51,9 @@ class ChangesBuilder(Builder): def write(self, *ignored: Any) -> None: version = self.config.version domain = cast(ChangeSetDomain, self.env.get_domain('changeset')) - libchanges = {} # type: Dict[str, List[Tuple[str, str, int]]] - apichanges = [] # type: List[Tuple[str, str, int]] - otherchanges = {} # type: Dict[Tuple[str, str], List[Tuple[str, str, int]]] + libchanges: Dict[str, List[Tuple[str, str, int]]] = {} + apichanges: List[Tuple[str, str, int]] = [] + otherchanges: Dict[Tuple[str, str], List[Tuple[str, str, int]]] = {} changesets = domain.get_changesets_for(version) if not changesets: |