diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-04-10 00:32:26 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-10 00:32:26 +0900 |
commit | fe6d95e4294f47d61f1a04a1f8c6567c9802f504 (patch) | |
tree | 33a7143bf1dcf60830c2e1fcd4b396175af45e64 /sphinx/builders/changes.py | |
parent | 7327e56dff865d4766c43d46405ae827e10fd6c3 (diff) | |
parent | ce5d66e618c111b115a9bb7b1401a26483fcfa8f (diff) | |
download | sphinx-git-fe6d95e4294f47d61f1a04a1f8c6567c9802f504.tar.gz |
Merge branch 'master' into patch-1
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: |