Skip to content

[3.14] gh-155052: Fix docstring of decimal.Context.copy (GH-155062) - #155083

Merged
serhiy-storchaka merged 1 commit into
python:3.14from
BHUVANSH855:backport-155062-3.14
Aug 2, 2026
Merged

[3.14] gh-155052: Fix docstring of decimal.Context.copy (GH-155062)#155083
serhiy-storchaka merged 1 commit into
python:3.14from
BHUVANSH855:backport-155062-3.14

Conversation

@BHUVANSH855

@BHUVANSH855 BHUVANSH855 commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

(cherry picked from commit 04a1fcf)

Summary

Backport GH-155062 to the 3.14 branch.

The 3.14 branch still uses the legacy Modules/_decimal/docstrings.h file instead of the Argument Clinic-generated docstrings used on main. Therefore, this backport applies the equivalent docstring fix in the branch-specific implementation by updating the decimal.Context.copy() docstring from:

Return a duplicate of the context with all flags cleared.

to:

Return a duplicate of the context.

@serhiy-storchaka
serhiy-storchaka merged commit 55ab1a6 into python:3.14 Aug 2, 2026
53 of 54 checks passed
@serhiy-storchaka serhiy-storchaka added the needs backport to 3.13 bugs and security fixes label Aug 2, 2026
@miss-islington-app

Copy link
Copy Markdown

Thanks @BHUVANSH855 for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Aug 2, 2026

Copy link
Copy Markdown

GH-155088 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Aug 2, 2026
serhiy-storchaka pushed a commit that referenced this pull request Aug 2, 2026
…H-155083) (GH-155088)

(cherry picked from commit 55ab1a6)

Co-authored-by: Bhuvansh <bhuvanshkataria@gmail.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.

2 participants