mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-30 07:57:21 +08:00
Precise the type of Python 2 htmlentitydefs module (#3163)
The code and documentation specifies the values specifically as dictionaries.
This commit is contained in:
1 parent
edee7cfb3c
commit
f2fdb54765
1 file changed
+4
-4
@@ -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]
|
||||
Reference in new issue
Block a user