Skip to content

Commit b0a4c08

Browse files
committed
Avoid mypy note
1 parent ab10246 commit b0a4c08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg_resources/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
import time
2828
import re
2929
import types
30-
from typing import Dict, List, Protocol
30+
from typing import List, Protocol
3131
import zipfile
3232
import zipimport
3333
import warnings
@@ -2562,7 +2562,7 @@ def parse_map(cls, data, dist=None):
25622562
_data = data.items()
25632563
else:
25642564
_data = split_sections(data)
2565-
maps: Dict[str, Dict[str, "EntryPoint"]] = {}
2565+
maps = {}
25662566
for group, lines in _data:
25672567
if group is None:
25682568
if not lines:

0 commit comments

Comments
 (0)