Searched refs:pyfile (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython3/Lib/test/test_tools/ |
D | test_unparse.py | 23 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/ |
D | bdist_egg.py | 53 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)
|
D | easy_install.py | 1029 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/ |
D | test_unparse.py | 13 with open(filename, "r") as pyfile: 14 source = pyfile.read()
|
D | unparse.py | 572 with open(filename, "r") as pyfile: 573 source = pyfile.read()
|
/external/python/cpython2/Tools/unicode/ |
D | gencodec.py | 353 def pymap(name,map,pyfile,encodingname,comments=1): argument 356 f = open(pyfile,'w')
|
/external/python/cpython3/Tools/unicode/ |
D | gencodec.py | 359 def pymap(name,map,pyfile,encodingname,comments=1): argument 362 f = open(pyfile,'w')
|
/external/python/cpython3/Tools/parser/ |
D | unparse.py | 670 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()
|