summaryrefslogtreecommitdiffstats
path: root/Lib/cmp.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-10-09 22:34:40 (GMT)
committerGuido van Rossum <guido@python.org>1994-10-09 22:34:40 (GMT)
commit74233b34e183f7b79ad43874144408516083dacf (patch)
tree433f3fd8c664dccddbe6fc86a84c05b8f08b94b4 /Lib/cmp.py
parent705d517e3f4df74b8c04edf54ac73b087c982f32 (diff)
downloadcpython-74233b34e183f7b79ad43874144408516083dacf.zip
cpython-74233b34e183f7b79ad43874144408516083dacf.tar.gz
cpython-74233b34e183f7b79ad43874144408516083dacf.tar.bz2
fix buffer size
Diffstat (limited to 'Lib/cmp.py')
-rw-r--r--Lib/cmp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/cmp.py b/Lib/cmp.py
index a73b795..4ebdfc6 100644
--- a/Lib/cmp.py
+++ b/Lib/cmp.py
@@ -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: