Skip to content

copy.deepcopy code is too nested. #135865

Open
@SobhanMP

Description

@SobhanMP

Bug report

Bug description:

Hi, I think that the code for copy.deepcopy is too nested and would be cleaner with the walrus operator.

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

P.S.

Sorry about the label.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibPython modules in the Lib dirtype-refactorCode refactoring (with no changes in behavior)

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions