mirror of
https://github.com/python/cpython.git
synced 2024-11-24 02:15:30 +08:00
6f3c138dfa
It creates a modified copy of an object by calling the object's __replace__() method. It is a generalization of dataclasses.replace(), named tuple's _replace() method and replace() methods in various classes, and supports all these stdlib classes. |
||
---|---|---|
.. | ||
__init__.py | ||
abc.py |