Closed kanghyojun closed 5 years ago
NameDict.__init__() has assumption names has to be List[Tuple[str, str]] type. but it can be initialized with dict because NameDict implements typing.Mapping.
NameDict.__init__()
names
List[Tuple[str, str]]
dict
NameDict
typing.Mapping
NameDict.__init__()
has assumptionnames
has to beList[Tuple[str, str]]
type. but it can be initialized withdict
becauseNameDict
implementstyping.Mapping
.