bpo-43905: Expand dataclasses.astuple() and asdict() docs by akulakov · Pull Request #26154 · python/cpython · GitHub

github.com

Tin mới

akulakov:update-dataclass-astuple-doc

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

Update dataclasses.rst

View reviewed changes

Moved 'deepcopy' sentence to the first paragraph.

📜🤖 Added by blurb_it.

github-actions Bot commented Jun 24, 2021
github-actions Bot commented Jun 24, 2021

github-actions Bot commented Jun 24, 2021

This PR is stale because it has been open for 30 days with no activity.

View reviewed changes

fix trailing whitespace

fix one more trailing space

View reviewed changes

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

added deepcopy note and workaround to asdict

remove tildes in links

View reviewed changes

needs backport to 3.9
needs backport to 3.9

needs backport to 3.9

needs backport to 3.10
needs backport to 3.10

needs backport to 3.10

View reviewed changes

bpo-43905: Expand dataclasses.astuple() and asdict() docs (

bpo-43905: Expand dataclasses.astuple() and asdict() docs (

: Expand dataclasses.astuple() and asdict() docs (

: Expand dataclasses.astuple() and asdict() docs (

Merge branch 'main' into bpo_44133

Merge branch 'main' into bpo_44133

Update dataclasses.astuple and dataclasses.asdict docstrings to refle…

gh-88071: Update docstrings of dataclass' astuple and asdict #101806

dataclasses.astuple (and .asdict) do deepcopy on all fields #88071