Skip to content

Commit 826e2dd

Browse files
committed
docs: correct DynamicClassAttribute type from function to class
1 parent 16ccdbc commit 826e2dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/types.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ Additional Utility Classes and Functions
507507
.. versionchanged:: 3.13
508508
Added support for an optional positional argument.
509509

510-
.. function:: DynamicClassAttribute(fget=None, fset=None, fdel=None, doc=None)
510+
.. class:: DynamicClassAttribute(fget=None, fset=None, fdel=None, doc=None)
511511

512512
Route attribute access on a class to __getattr__.
513513

0 commit comments

Comments
 (0)