ID EN
ABC

update_abstractmethods

Python 3.11

A function to recalculate an abstract class’s abstraction status. This function should be called if a class’s abstract methods have been implemented or changed after it was created. Usually, this function should be called from within a class decorator.

Syntax

PYTHON
abc.update_abstractmethods(cls)

See Also

ABCMeta