Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/test_tools/
Dtest_unparse.py23 with open(filename, "rb") as pyfile:
24 encoding = tokenize.detect_encoding(pyfile.readline)[0]
25 with open(filename, "r", encoding=encoding) as pyfile:
26 source = pyfile.read()
/external/python/setuptools/setuptools/command/
Dbdist_egg.py53 def write_stub(resource, pyfile): argument
63 with open(pyfile, 'w') as f:
180 pyfile = os.path.join(self.bdist_dir, strip_module(filename) +
182 self.stubs.append(pyfile)
185 write_stub(os.path.basename(ext_name), pyfile)
186 to_compile.append(pyfile)
Deasy_install.py1029 pyfile = os.path.join(egg_tmp, *parts)
1030 to_compile.append(pyfile)
1031 stubs.append(pyfile)
1032 bdist_egg.write_stub(resource, pyfile)
/external/python/cpython2/Demo/parser/
Dtest_unparse.py13 with open(filename, "r") as pyfile:
14 source = pyfile.read()
Dunparse.py572 with open(filename, "r") as pyfile:
573 source = pyfile.read()
/external/python/cpython2/Tools/unicode/
Dgencodec.py353 def pymap(name,map,pyfile,encodingname,comments=1): argument
356 f = open(pyfile,'w')
/external/python/cpython3/Tools/unicode/
Dgencodec.py359 def pymap(name,map,pyfile,encodingname,comments=1): argument
362 f = open(pyfile,'w')
/external/python/cpython3/Tools/parser/
Dunparse.py670 with open(filename, "rb") as pyfile:
671 encoding = tokenize.detect_encoding(pyfile.readline)[0]
672 with open(filename, "r", encoding=encoding) as pyfile:
673 source = pyfile.read()