commit | 4663f66f3554dd8e2ec130e40f6abb3c6a514775 | [log] [tgz] |
---|---|---|
author | Brandt Bucher <brandtbucher@gmail.com> | Sat Mar 07 11:03:09 2020 -0800 |
committer | GitHub <noreply@github.com> | Sat Mar 07 11:03:09 2020 -0800 |
tree | 479bda23ce4895419248e76431066a81d9088c94 | |
parent | 8f130536926a30237b5297780d61ef4232e88577 [diff] |
bpo-36144: Update MappingProxyType with PEP 584's operators (#18814) We make `|=` raise TypeError, since it would be surprising if `C.__dict__ |= {'x': 0}` silently did nothing, while `C.__dict__.update({'x': 0})` is an error.