From bc0447b8564a6eacf31195993413c10a4d9bddcc Mon Sep 17 00:00:00 2001 From: Vyron Vasileiadis Date: Sat, 18 Jul 2026 13:34:50 +0300 Subject: [PATCH] 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 --- Doc/library/filecmp.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/filecmp.rst b/Doc/library/filecmp.rst index e87a7869685d04e..105aaa23071806b 100644 --- a/Doc/library/filecmp.rst +++ b/Doc/library/filecmp.rst @@ -36,9 +36,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*,