Kaydet (Commit) 508d8205 authored tarafından 방성범 (Bang Seongbeom)'s avatar 방성범 (Bang Seongbeom) Kaydeden (comit) Eric V. Smith

Fix astuple in dataclasses documentation (GH-9631)

üst 4b430e5f
...@@ -308,7 +308,7 @@ Module-level decorators, classes, and functions ...@@ -308,7 +308,7 @@ Module-level decorators, classes, and functions
Raises :exc:`TypeError` if ``instance`` is not a dataclass instance. 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 Converts the dataclass ``instance`` to a tuple (by using the
factory function ``tuple_factory``). Each dataclass is converted factory function ``tuple_factory``). Each dataclass is converted
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment