mirror of
https://github.com/python/cpython.git
synced 2026-07-25 03:12:54 -04:00
4663f66f35
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.
Source files for various builtin objects