We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f07590 commit 0c349f4Copy full SHA for 0c349f4
pdoc/cli.py
@@ -408,8 +408,8 @@ def to_url_id(module):
408
url_cache[url] = len(url_cache)
409
return url_cache[url]
410
411
- index = [] # type: List[Dict]
412
- url_cache = {} # type: Dict[str, int]
+ index: List[Dict] = []
+ url_cache: Dict[str, int] = {}
413
for top_module in modules:
414
recursive_add_to_index(top_module)
415
urls = sorted(url_cache.keys(), key=url_cache.__getitem__)
0 commit comments