]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-57141: Make shallow argument to filecmp.dircmp keyword-only (#121767)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Sun, 14 Jul 2024 22:53:32 +0000 (15:53 -0700)
committerGitHub <noreply@github.com>
Sun, 14 Jul 2024 22:53:32 +0000 (15:53 -0700)
commit50eec501fef46f0887df6f2f47d74f4defb35515
treea8f68f39d05e6669081bb003dac0c99b486fcf9b
parent7982363b479e22fffc72481e54c9f40ace8a0021
gh-57141: Make shallow argument to filecmp.dircmp keyword-only (#121767)

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.
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]