[issue43010] @functools.wraps and abc.abstractmethod interoperability

Dennis Sweeney report at bugs.python.org
Sat Mar 13 19:51:28 EST 2021


Dennis Sweeney <sweeney.dennis650 at gmail.com> added the comment:

> the ABC wouldn't have any abstract methods,

I was wrong about this since the @abstractmethod decorator adds 'f' to the __abstractmethods__ set of the ABC, but the rest of my comment stands.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43010>
_______________________________________


More information about the Python-bugs-list mailing list