]> granicus.if.org Git - python/commitdiff
shallow defaults to 'True' not '1' (closes #21355)
authorBenjamin Peterson <benjamin@python.org>
Sat, 26 Apr 2014 17:36:21 +0000 (13:36 -0400)
committerBenjamin Peterson <benjamin@python.org>
Sat, 26 Apr 2014 17:36:21 +0000 (13:36 -0400)
Patch by Diana Clarke.

Lib/filecmp.py

index dd5a2af46d412e8929e83cb047458d581e04f5bf..e5ad8397e4c53956c1503d8abba134015da0a24f 100644 (file)
@@ -36,7 +36,7 @@ def cmp(f1, f2, shallow=True):
     f2 -- Second file name
 
     shallow -- Just check stat signature (do not read the files).
-               defaults to 1.
+               defaults to True.
 
     Return value: