summaryrefslogtreecommitdiff
path: root/sphinx/builders/changes.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2021-04-10 00:32:26 +0900
committerGitHub <noreply@github.com>2021-04-10 00:32:26 +0900
commitfe6d95e4294f47d61f1a04a1f8c6567c9802f504 (patch)
tree33a7143bf1dcf60830c2e1fcd4b396175af45e64 /sphinx/builders/changes.py
parent7327e56dff865d4766c43d46405ae827e10fd6c3 (diff)
parentce5d66e618c111b115a9bb7b1401a26483fcfa8f (diff)
downloadsphinx-git-fe6d95e4294f47d61f1a04a1f8c6567c9802f504.tar.gz
Merge branch 'master' into patch-1
Diffstat (limited to 'sphinx/builders/changes.py')
-rw-r--r--sphinx/builders/changes.py6
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: