Searched refs:fp2 (Results 1 – 3 of 3) sorted by relevance
153 fp2 = open(test_support.TESTFN)155 posix.dup2(fp1.fileno(), fp2.fileno())158 fp2.close()162 fp2 = posix.fdopen(fd, *args)163 fp2.close()
161 def sameopenfile(fp1, fp2): argument164 s2 = os.fstat(fp2)
65 with open(f1, 'rb') as fp1, open(f2, 'rb') as fp2:68 b2 = fp2.read(bufsize)