]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix minor docstring issues in `dataclasses.py`. (gh-93024) (GH-95286)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 27 Jul 2022 08:08:21 +0000 (01:08 -0700)
committerGitHub <noreply@github.com>
Wed, 27 Jul 2022 08:08:21 +0000 (10:08 +0200)
commitf083adfdacfa90f90e1c1d8cb5ed0cb087f585c0
treec2b04f1f52d7876b4630d5c4e6742847ca6dfcc3
parentc72940a60994d6c1b3ae90b6d050bd747b074dde
Fix minor docstring issues in `dataclasses.py`. (gh-93024) (GH-95286)

Previously, when using `functools.wrap` around them (and inherit their docstrings), sphinx renders the docstrings badly and raises warnings about wrong indent.
(cherry picked from commit b8c528694edb7a31020116956cc4daf07a5cd97f)

Co-authored-by: Roman Novak <44512421+romanngg@users.noreply.github.com>
Lib/dataclasses.py