summaryrefslogtreecommitdiffstats
path: root/Lib/filecmp.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-04-26 17:36:21 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-04-26 17:36:21 (GMT)
commitd4992dccfb52ef4c0f4f9417b3e18fd7bd56476b (patch)
tree8ba0a85aa6f3ec13b69f4cf04c715d18d3c2d704 /Lib/filecmp.py
parente472aeafc3ce2c295fed8aee1ccdad1dcaaf634e (diff)
downloadcpython-d4992dccfb52ef4c0f4f9417b3e18fd7bd56476b.zip
cpython-d4992dccfb52ef4c0f4f9417b3e18fd7bd56476b.tar.gz
cpython-d4992dccfb52ef4c0f4f9417b3e18fd7bd56476b.tar.bz2
shallow defaults to 'True' not '1' (closes #21355)
Patch by Diana Clarke.
Diffstat (limited to 'Lib/filecmp.py')
-rw-r--r--Lib/filecmp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/filecmp.py b/Lib/filecmp.py
index dd5a2af..e5ad839 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: