diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-10-28 08:13:45 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-28 08:13:45 (GMT) |
| commit | 8365a5b5abe51cbe4151d89a5d0a993273320067 (patch) | |
| tree | 606e52313ef795bc83aa199144774bedbc008019 /Python/pythonrun.c | |
| parent | 21150c6fa330f80747d698e4b883c7b4801a25bd (diff) | |
| download | cpython-8365a5b5abe51cbe4151d89a5d0a993273320067.zip cpython-8365a5b5abe51cbe4151d89a5d0a993273320067.tar.gz cpython-8365a5b5abe51cbe4151d89a5d0a993273320067.tar.bz2 | |
bpo-44904: Fix classmethod property bug in doctest module (GH-28838)
The doctest module raised an error if a docstring contained an example that
attempted to access a classmethod property. (Stacking '@classmethod' on top of
`@property` has been supported since Python 3.9; see
https://docs.python.org/3/howto/descriptor.htmlGH-class-methods.)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
(cherry picked from commit b1302abcc8a4be5f39b4d60a1ce28032b77655b3)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions
