File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -91,13 +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 :
94+ :noindexentry :
9595
9696 Called to implement the shallow copy operation;
9797 no additional arguments are passed.
9898
9999.. method :: object.__deepcopy__(self, memo)
100- :noindex :
100+ :noindexentry :
101101
102102 Called to implement the deep copy operation; it is passed one
103103 argument, the *memo * dictionary. If the ``__deepcopy__ `` implementation needs
@@ -114,7 +114,7 @@ and only supports named tuples created by :func:`~collections.namedtuple`,
114114:mod: `dataclasses `, and other classes which define method :meth: `~object.__replace__ `.
115115
116116.. method :: object.__replace__(self, /, **changes)
117- :noindex :
117+ :noindexentry :
118118
119119 This method should create a new object of the same type,
120120 replacing fields with values from *changes *.
You can’t perform that action at this time.
0 commit comments