Message323255
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. |
|
Date |
User |
Action |
Args |
2018-08-08 00:29:59 | nikvanderhoof | set | recipients:
+ nikvanderhoof, Michael Hooreman |
2018-08-08 00:29:59 | nikvanderhoof | set | messageid: <1533688199.66.0.56676864532.issue34338@psf.upfronthosting.co.za> |
2018-08-08 00:29:59 | nikvanderhoof | link | issue34338 messages |
2018-08-08 00:29:58 | nikvanderhoof | create | |
|