Message176540
OTOH, __slots__ also allows a single string, but it is silently converted to a 1-tuple:
class C:
__slots__ = 'abc'
assert 'abc' in C.__dict__ |
|
Date |
User |
Action |
Args |
2012-11-28 12:37:33 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, ncoghlan, vstinner, techtonik, meador.inge |
2012-11-28 12:37:33 | amaury.forgeotdarc | set | messageid: <1354106253.46.0.492444314667.issue16566@psf.upfronthosting.co.za> |
2012-11-28 12:37:33 | amaury.forgeotdarc | link | issue16566 messages |
2012-11-28 12:37:33 | amaury.forgeotdarc | create | |
|