PyDocs

Nav

Python Runtime Services

object.__replace__

builtins

method of object · Added in 3.13
  • object.__replace__(self, /, **changes)
This method should create a new object of the same type, replacing fields with values from changes.
0 Examples
No examples for builtins/object.__replace__.
See Also
No see-alsos for builtins/object.__replace__
0 Notes
No notes for object.__replace__