Skip to content

Commit 6eafaae

Browse files
doc: classproperty
1 parent ab6da5c commit 6eafaae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mpqp/tools/generics.py

+2
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ class SimpleClassReprABC(metaclass=SimpleClassReprABCMeta):
227227

228228

229229
class classproperty:
230+
"""Decorator yo unite the ``classmethod`` and ``property`` decorators."""
231+
230232
def __init__(self, func: Callable[..., Any]):
231233
self.fget = func
232234

0 commit comments

Comments
 (0)