File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -91,11 +91,13 @@ In order for a class to define its own copy implementation, it can define
9191special methods :meth: `~object.__copy__ ` and :meth: `~object.__deepcopy__ `.
9292
9393.. method :: object.__copy__(self)
94+ :noindex:
9495
9596 Called to implement the shallow copy operation;
9697 no additional arguments are passed.
9798
9899.. method :: object.__deepcopy__(self, memo)
100+ :noindex:
99101
100102 Called to implement the deep copy operation; it is passed one
101103 argument, the *memo * dictionary. If the ``__deepcopy__ `` implementation needs
@@ -112,6 +114,7 @@ and only supports named tuples created by :func:`~collections.namedtuple`,
112114:mod: `dataclasses `, and other classes which define method :meth: `~object.__replace__ `.
113115
114116.. method :: object.__replace__(self, /, **changes)
117+ :noindex:
115118
116119 This method should create a new object of the same type,
117120 replacing fields with values from *changes *.
You can’t perform that action at this time.
0 commit comments