Fix astuple in dataclasses documentation (GH-9631)
(cherry picked from commit 508d8205121868ef24cca99f1f952558b1ff2f2e)
Co-authored-by: 방성범 (Bang Seongbeom) <bangseongbeom@hotmail.com>
diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst
index 2efa2c5..fe0feed 100644
--- a/Doc/library/dataclasses.rst
+++ b/Doc/library/dataclasses.rst
@@ -309,7 +309,7 @@
Raises :exc:`TypeError` if ``instance`` is not a dataclass instance.
-.. function:: astuple(*, tuple_factory=tuple)
+.. function:: astuple(instance, *, tuple_factory=tuple)
Converts the dataclass ``instance`` to a tuple (by using the
factory function ``tuple_factory``). Each dataclass is converted