SIGN IN SIGN UP

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.html#class-methods.)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
A
Alex Waygood committed
b1302abcc8a4be5f39b4d60a1ce28032b77655b3
Parent: d02ffd1
Committed by GitHub <noreply@github.com> on 10/28/2021, 7:48:02 AM