Skip to content

Commit 0c349f4

Browse files
committed
REF: Convert remaining few type comments
1 parent 2f07590 commit 0c349f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pdoc/cli.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,8 @@ def to_url_id(module):
408408
url_cache[url] = len(url_cache)
409409
return url_cache[url]
410410

411-
index = [] # type: List[Dict]
412-
url_cache = {} # type: Dict[str, int]
411+
index: List[Dict] = []
412+
url_cache: Dict[str, int] = {}
413413
for top_module in modules:
414414
recursive_add_to_index(top_module)
415415
urls = sorted(url_cache.keys(), key=url_cache.__getitem__)

0 commit comments

Comments
 (0)