FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.13] gh-57141: Make shallow argument to filecmp.dircmp keyword-only (GH-121767) by miss-islington · Pull Request #121777 · python/cpython · GitHub

Repository navigation

[3.13] gh-57141: Make shallow argument to filecmp.dircmp keyword-only (GH-121767) - #121777

Merged
JelleZijlstra merged 1 commit into
python:3.13from
miss-islington:backport-50eec50-3.13
Jul 14, 2024
Merged

JelleZijlstra merged 1 commit into
python:3.13from
miss-islington:backport-50eec50-3.13

Conversation

miss-islington commented Jul 14, 2024 •
edited by github-actions Bot
Loading

Copy link
Copy Markdown
Contributor

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 50eec50)

Co-authored-by: Jelle Zijlstra jelle.zijlstra@gmail.com


📚 Documentation preview 📚: https://cpython-previews--121777.org.readthedocs.build/

…ythonGH-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.
(cherry picked from commit 50eec50)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL