From f2fdb54765923929e752ef9e85e32b5a31669519 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Wed, 31 Jul 2019 06:45:50 -0700 Subject: [PATCH] Precise the type of Python 2 htmlentitydefs module (#3163) The code and documentation specifies the values specifically as dictionaries. --- stdlib/2/htmlentitydefs.pyi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stdlib/2/htmlentitydefs.pyi b/stdlib/2/htmlentitydefs.pyi index d1aadb3b8..749b3039d 100644 --- a/stdlib/2/htmlentitydefs.pyi +++ b/stdlib/2/htmlentitydefs.pyi @@ -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]