From: Benjamin Peterson Date: Sat, 26 Apr 2014 17:36:21 +0000 (-0400) Subject: shallow defaults to 'True' not '1' (closes #21355) X-Git-Tag: v3.4.1rc1~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d4992dccfb52ef4c0f4f9417b3e18fd7bd56476b;p=python shallow defaults to 'True' not '1' (closes #21355) Patch by Diana Clarke. --- diff --git a/Lib/filecmp.py b/Lib/filecmp.py index dd5a2af46d..e5ad8397e4 100644 --- a/Lib/filecmp.py +++ b/Lib/filecmp.py @@ -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: