Skip to content

Commit c68f846

Browse files
committed
Fix error in 'sphinx-last-updated-by-git'
1 parent d95dafa commit c68f846

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sphinx/environment/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def __init__(self, app: Sphinx) -> None:
131131
self.all_docs: dict[str, int] = {}
132132
# docname -> set of dependent file
133133
# names, relative to documentation root
134-
self.dependencies: dict[str, set[_StrPath]] = {}
134+
self.dependencies: dict[str, set[_StrPath]] = defaultdict(set)
135135
# docname -> set of included file
136136
# docnames included from other documents
137137
self.included: dict[str, set[str]] = defaultdict(set)

0 commit comments

Comments
 (0)