https://github.com/python/cpython/commit/5825c270e08bb62bd2e8333635419bada1ce6bdb
commit: 5825c270e08bb62bd2e8333635419bada1ce6bdb
branch: 3.15
author: Miss Islington (bot) <[email protected]>
committer: picnixz <[email protected]>
date: 2026-07-18T10:42:53Z
summary:

[3.15] gh-153899: Fix documented parameter names for `filecmp.cmpfiles` 
(GH-153900) (#153910)

gh-153899: Fix documented parameter names for `filecmp.cmpfiles` (GH-153900)

Update the `filecmp.cmpfiles()` docs to match its actual signature.
(cherry picked from commit 26e7c4fe3f68668abbc96fc4ac57c2d5ef8048b5)

Co-authored-by: Vyron Vasileiadis <[email protected]>

files:
M Doc/library/filecmp.rst

diff --git a/Doc/library/filecmp.rst b/Doc/library/filecmp.rst
index f8365b44c5a502..4488322032c681 100644
--- a/Doc/library/filecmp.rst
+++ b/Doc/library/filecmp.rst
@@ -34,9 +34,9 @@ The :mod:`!filecmp` module defines the following functions:
    file changes.  The entire cache may be cleared using :func:`clear_cache`.
 
 
-.. function:: cmpfiles(dir1, dir2, common, shallow=True)
+.. function:: cmpfiles(a, b, common, shallow=True)
 
-   Compare the files in the two directories *dir1* and *dir2* whose names are
+   Compare the files in the two directories *a* and *b* whose names are
    given by *common*.
 
    Returns three lists of file names: *match*, *mismatch*,

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to