Home
last modified time | relevance | path

Searched refs:path_or_file (Results 1 – 1 of 1) sorted by relevance

/external/fonttools/Lib/fontTools/ufoLib/
Dplistlib.py14 def readPlist(path_or_file): argument
16 if isinstance(path_or_file, str):
17 path_or_file = open(path_or_file, "rb")
20 return load(path_or_file, use_builtin_types=False)
23 path_or_file.close()
27 def writePlist(value, path_or_file): argument
29 if isinstance(path_or_file, str):
30 path_or_file = open(path_or_file, "wb")
33 dump(value, path_or_file, use_builtin_types=False)
36 path_or_file.close()