]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[doc] Reword sentinel object summary in dataclasses (GH-27792)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 2 Sep 2021 16:37:55 +0000 (09:37 -0700)
committerGitHub <noreply@github.com>
Thu, 2 Sep 2021 16:37:55 +0000 (09:37 -0700)
commit7aa58f5425189c95927d1620df8d6b0ba57d393a
tree869c1c17da06e11d372c344918c762a5bbdf1bf9
parent2184bc7fe15fe67043f1887ac5d39a99c8d09e35
[doc] Reword sentinel object summary in dataclasses (GH-27792)

This sentinel value (`MISSING`) is also used as default value for the `kw_only` parameter introduced in Python 3.10. It's cleaner to simply omit the usage here.

Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
(cherry picked from commit 767a17f35a581da664ac8cf5d67281da9485eebf)

Co-authored-by: Ville Korhonen <ville@xd.fi>
Doc/library/dataclasses.rst