Skip to content

Conversation

jopemachine
Copy link
Contributor

Fixes #3875.

@jopemachine jopemachine force-pushed the add-missing-method-mapping-proxy branch from d8f7241 to ad27a0f Compare July 16, 2022 04:14
@youknowone youknowone added the z-ca-2022 Tag to track contrubution-academy 2022 label Jul 16, 2022
@Snowapril
Copy link
Contributor

As you implement __or__ and __ior__ for mapping proxy, You can also implement number protocol for mappingproxy just by connecting the fields. The only fields that mappingproxy providing for number protocol are __or__ and __ior__. You can do that in this PR or seaprate PR

@youknowone youknowone requested a review from qingshi163 July 16, 2022 13:44
Copy link
Contributor

@qingshi163 qingshi163 left a comment

Choose a reason for hiding this comment

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

Looks Great!

@youknowone youknowone merged commit 715dac9 into RustPython:main Jul 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
z-ca-2022 Tag to track contrubution-academy 2022
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement missing methods to MappingProxy
4 participants