diff options
author | Brandt Bucher <brandtbucher@gmail.com> | 2020-03-07 11:03:09 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-07 11:03:09 -0800 |
commit | 4663f66f3554dd8e2ec130e40f6abb3c6a514775 (patch) | |
tree | 479bda23ce4895419248e76431066a81d9088c94 /Python/ast_unparse.c | |
parent | 8f130536926a30237b5297780d61ef4232e88577 (diff) | |
download | cpython-git-4663f66f3554dd8e2ec130e40f6abb3c6a514775.tar.gz |
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.
Diffstat (limited to 'Python/ast_unparse.c')
0 files changed, 0 insertions, 0 deletions