Skip to content

gh-155044: Support copy.replace() for optparse.Values - #155050

Open
serhiy-storchaka wants to merge 2 commits into
python:mainfrom
serhiy-storchaka:optparse-values-replace
Open

gh-155044: Support copy.replace() for optparse.Values#155050
serhiy-storchaka wants to merge 2 commits into
python:mainfrom
serhiy-storchaka:optparse-values-replace

Conversation

@serhiy-storchaka

Copy link
Copy Markdown
Member

Add Values.__replace__(), with the same semantics as types.SimpleNamespace.__replace__().

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@read-the-docs-community

read-the-docs-community Bot commented Aug 1, 2026

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33869424 | 📁 Comparing 104f8dc against main (7ce7f0b)

  🔍 Preview build  

2 files changed
± library/optparse.html
± whatsnew/changelog.html

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant