Nikolas Vanderhoof <nikolasrvanderh...@gmail.com> added the comment:

This behavior is consistent with the behavior described in the documentation 
for `@classmethod`.

https://docs.python.org/3.6/library/functions.html?highlight=classmethod#classmethod

"It can be called either on the class (such as C.f()) or on an instance (such 
as C().f())."

In this case, it can't be called on an instance because it is abstract, but 
since it's a classmethod, it is still okay to call it on the class directly.

----------
nosy: +nikvanderhoof

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34338>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to