Update Lib/fontTools/misc/plistlib/__init__.py
Co-authored-by: Cosimo Lupo <cosimo@anthrotype.com>
This commit is contained in:
parent
2906ac2908
commit
4efc06e62f
@ -356,7 +356,7 @@ def _real_element(value: float, ctx: SimpleNamespace) -> etree.Element:
|
||||
return el
|
||||
|
||||
|
||||
def _dict_element(d: Mapping[str, Any], ctx: SimpleNamespace) -> etree.Element:
|
||||
def _dict_element(d: Mapping[str, PlistEncodable], ctx: SimpleNamespace) -> etree.Element:
|
||||
el = etree.Element("dict")
|
||||
items = d.items()
|
||||
if ctx.sort_keys:
|
||||
|
Loading…
x
Reference in New Issue
Block a user