summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/dataclasses.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst
index db5c3e0c7e..9e02882902 100644
--- a/Doc/library/dataclasses.rst
+++ b/Doc/library/dataclasses.rst
@@ -356,7 +356,7 @@ Module-level decorators, classes, and functions
def add_one(self):
return self.x + 1
-.. function:: replace(instance, **changes)
+.. function:: replace(instance, /, **changes)
Creates a new object of the same type of ``instance``, replacing
fields with values from ``changes``. If ``instance`` is not a Data