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.py13 def readPlist(path_or_file): argument
15 if isinstance(path_or_file, basestring):
16 path_or_file = open(path_or_file, "rb")
19 return load(path_or_file, use_builtin_types=False)
22 path_or_file.close()
26 def writePlist(value, path_or_file): argument
28 if isinstance(path_or_file, basestring):
29 path_or_file = open(path_or_file, "wb")
32 dump(value, path_or_file, use_builtin_types=False)
35 path_or_file.close()