mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
fix buffer size
This commit is contained in:
parent
705d517e3f
commit
74233b34e1
2 changed files with 2 additions and 2 deletions
|
|
@ -51,7 +51,7 @@ def sig(st): # Return signature (i.e., type, size, mtime) from raw stat data
|
|||
return type, size, mtime
|
||||
|
||||
def do_cmp(f1, f2): # Compare two files, really
|
||||
bufsize = 8096 # Could be tuned
|
||||
bufsize = 8*1024 # Could be tuned
|
||||
fp1 = open(f1, 'r')
|
||||
fp2 = open(f2, 'r')
|
||||
while 1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue