On Mar 12, 11:16 pm, Darren Dale wrote:
> I've been reading PEP 3119 and the documentation for ABCs in the
> python documentation. According to the PEP, the following should yield
> an error, because the abstract property has not been overridden:
>
> import abc
> class C:
> __metaclass__ = abc
I've been reading PEP 3119 and the documentation for ABCs in the
python documentation. According to the PEP, the following should yield
an error, because the abstract property has not been overridden:
import abc
class C:
__metaclass__ = abc.ABCMeta
@abc.abstractproperty
def x(self):