This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ppperry
Recipients bansalanjali, ppperry, rhettinger, serhiy.storchaka, terry.reedy, xtreak
Date 2018-08-03.15:56:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1533311791.76.0.56676864532.issue34331@psf.upfronthosting.co.za>
In-reply-to
Content
>>> class abstract(abc.ABC):
...     @abc.abstractmethod
...     def meth():
...         pass
...
>>> x()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: Can't instantiate abstract class x with abstract methods meth

Error should be "Can't instantiate abstract class abstract with abstract method meth" in the singular, because there is only one abstract method.
History
Date User Action Args
2018-08-03 15:56:31ppperrysetrecipients: + ppperry, rhettinger, terry.reedy, serhiy.storchaka, xtreak, bansalanjali
2018-08-03 15:56:31ppperrysetmessageid: <1533311791.76.0.56676864532.issue34331@psf.upfronthosting.co.za>
2018-08-03 15:56:31ppperrylinkissue34331 messages
2018-08-03 15:56:31ppperrycreate