Update Lib/fontTools/misc/plistlib/__init__.py

Co-authored-by: Cosimo Lupo <cosimo@anthrotype.com>
This commit is contained in:
Nikolaus Waxweiler 2020-09-21 16:53:46 +01:00 committed by GitHub
parent 2906ac2908
commit 4efc06e62f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: