Fix astuple in dataclasses documentation (GH-9631)

(cherry picked from commit 508d820512)

Co-authored-by: 방성범 (Bang Seongbeom) <bangseongbeom@hotmail.com>
This commit is contained in:
Miss Islington (bot) 2018-09-29 03:55:14 -07:00 committed by GitHub
parent 758ad54dac
commit 4c1b2ad44f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -309,7 +309,7 @@ Module-level decorators, classes, and functions
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