mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +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:
committed by
Sebastian Rittau
parent
edee7cfb3c
commit
f2fdb54765
@@ -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