8000 bpo-36144: Update MappingProxyType with PEP 584's operators by brandtbucher · Pull Request #18814 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-36144: Update MappingProxyType with PEP 584's operators #18814

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Mar 7, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Whoops.
  • Loading branch information
brandtbucher committed Mar 6, 2020
commit 7c952adba22455c25259beb3ef321b1d80a3eea6
1 change: 1 addition & 0 deletions Objects/descrobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -1005,6 +1005,7 @@ mappingproxy_ior(mappingproxyobject *self, PyObject *other)
PyObject *result = PyNumber_InPlaceOr(new, other);
Py_DECREF(new);
return result;
}

static PyNumberMethods mappingproxy_as_number = {
.nb_or = mappingproxy_or,
Expand Down
0