mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
bpo-42958: Improve description of shallow= in filecmp.cmp docs (GH-27166)
Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Alexander Vandenbulcke <alexander.vandenbulcke95@gmail.com>
This commit is contained in:
parent
7c5dab4340
commit
a8dc4893d2
3 changed files with 10 additions and 4 deletions
|
@ -36,8 +36,9 @@ def cmp(f1, f2, shallow=True):
|
|||
|
||||
f2 -- Second file name
|
||||
|
||||
shallow -- Just check stat signature (do not read the files).
|
||||
defaults to True.
|
||||
shallow -- treat files as identical if their stat signatures (type, size,
|
||||
mtime) are identical. Otherwise, files are considered different
|
||||
if their sizes or contents differ. [default: True]
|
||||
|
||||
Return value:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue