Home
last modified time | relevance | path

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

/external/fonttools/Lib/fontTools/feaLib/
Dlexer.py242 def make_lexer_(file_or_path): argument
243 if hasattr(file_or_path, "read"):
244 fileobj, closing = file_or_path, False
246 filename, closing = file_or_path, True
/external/python/cpython3/Doc/library/
Dcontextlib.rst177 def process_file(file_or_path):
178 if isinstance(file_or_path, str):
180 cm = open(file_or_path)
183 cm = nullcontext(file_or_path)