Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Lines changed: 2 additions & 2 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /