]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-57141: Make shallow argument to filecmp.dircmp keyword-only (GH-121767...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 14 Jul 2024 23:17:26 +0000 (01:17 +0200)
committerGitHub <noreply@github.com>
Sun, 14 Jul 2024 23:17:26 +0000 (23:17 +0000)
commit55ff124b9c724cfcadd65195b7531279ed8cb170
treebd0cd613cd80206e07032e689c48f638a0597409
parentda58e93e4c0a3c6974eeff12d6d92b805a283e8a
[3.13] gh-57141: Make shallow argument to filecmp.dircmp keyword-only (GH-121767) (#121777)

It is our general practice to make new optional parameters keyword-only,
even if the existing parameters are all positional-or-keyword. Passing
this parameter as positional would look confusing and could be error-prone
if additional parameters are added in the future.
(cherry picked from commit 50eec501fef46f0887df6f2f47d74f4defb35515)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Doc/library/filecmp.rst
Lib/filecmp.py
Lib/test/test_filecmp.py
Misc/NEWS.d/next/Library/2024-07-14-06-24-02.gh-issue-57141.C3jhDh.rst [new file with mode: 0644]