Refactor `mappingproxy_new_impl` method to use `PyDictProxy_New` · Issue #152546 · python/cpython · GitHub
Skip to content

Refactor mappingproxy_new_impl method to use PyDictProxy_New #152546

Description

@sobolevn

They are located next to each other, use identical code.
They should be refactored to be the same thing:

cpython/Objects/descrobject.c

Lines 1265 to 1296 in 2670cb0

Linked PRs

Metadata

Metadata

Assignees

Labels

interpreter-core(Objects, Python, Grammar, and Parser dirs)type-refactorCode refactoring (with no changes in behavior)
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions