diff options
| author | Alex Waygood <Alex.Waygood@Gmail.com> | 2021-11-04 19:34:14 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-04 19:34:14 (GMT) |
| commit | effb72fa0f6f8f8ec92687fc6a29d63bbdb7e98d (patch) | |
| tree | f208952205321839c900c3c6f1fcf9593c9ca62e /Python/strdup.c | |
| parent | 9a4604bf03b03d4c66d84f63c19d6893cc16392a (diff) | |
| download | cpython-effb72fa0f6f8f8ec92687fc6a29d63bbdb7e98d.zip cpython-effb72fa0f6f8f8ec92687fc6a29d63bbdb7e98d.tar.gz cpython-effb72fa0f6f8f8ec92687fc6a29d63bbdb7e98d.tar.bz2 | |
[3.9] bpo-45678: Fix `singledispatchmethod` `classmethod`/`staticmethod` bug (GH-29394)
This PR fixes a bug in the 3.9 branch where
``functools.singledispatchmethod`` did not properly wrap attributes such as
``__name__``, ``__doc__`` and ``__module__`` of the target method. It also
backports tests already merged into the 3.11 and 3.10 branches in #29328 and
#29390.
Co-authored-by: Ćukasz Langa <lukasz@langa.pl>
Diffstat (limited to 'Python/strdup.c')
0 files changed, 0 insertions, 0 deletions
