Skip to content

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

Merged
serhiy-storchaka merged 1 commit into
python:3.15from
BHUVANSH855:backport-04a1fcf-3.15
Aug 2, 2026
Merged

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

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.15 branch.

This backport updates the Argument Clinic docstring for decimal.Context.copy() to match its actual behavior by changing:

Return a duplicate of the context with all flags cleared.

to:

Return a duplicate of the context.

The generated Argument Clinic files were regenerated for the 3.15 branch as part of the backport.

…GH-155062)

(cherry picked from commit 04a1fcf)

Co-authored-by: Bhuvansh <bhuvanshkataria@gmail.com>
@serhiy-storchaka
serhiy-storchaka merged commit 6ce19a8 into python:3.15 Aug 2, 2026
58 checks passed
@serhiy-storchaka

Copy link
Copy Markdown
Member

Thank you.

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