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
Fix indent.
  • Loading branch information
brandtbucher committed Mar 6, 2020
commit 5c7005b86524406fb3a66ac113455529cd5b3cef
6 changes: 3 additions & 3 deletions Doc/library/types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -284,9 +284,9 @@ Standard names are defined for the following types:

.. versionchanged:: 3.9

Updated to support the new union operators in :pep:`584`. The binary ``|``
operator simply delegates to the mapping itself, while the in-place ``|=``
operator delegates to a shallow copy of it (to enforce read-only behavior).
Updated to support the new union operators in :pep:`584`. The binary ``|``
operator simply delegates to the mapping itself, while the in-place ``|=``
operator delegates to a shallow copy of it (to enforce read-only behavior).

.. describe:: key in proxy

Expand Down
0