Precise the type of Python 2 htmlentitydefs module (#3163)

The code and documentation specifies the values specifically as
dictionaries.
This commit is contained in:
Jon Dufresne
2019-07-31 06:45:50 -07:00
committed by Sebastian Rittau
parent edee7cfb3c
commit f2fdb54765

View File

@@ -1,5 +1,5 @@
from typing import Mapping
from typing import Dict
name2codepoint: Mapping[str, int]
codepoint2name: Mapping[int, str]
entitydefs: Mapping[str, str]
name2codepoint: Dict[str, int]
codepoint2name: Dict[int, str]
entitydefs: Dict[str, str]