Message280418
| Author | xiang.zhang |
|---|---|
| Recipients | Arfrever, pitrou, serhiy.storchaka, xiang.zhang, yselivanov |
| Date | 2016-11-09.17:19:06 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1478711946.18.0.547093965322.issue24329@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Why should it work Yury?
__qualname__ and __doc__(if exists) are inserted into the dict when creating a class.
>>> class Foo:
... """bar"""
... __slots__ = ('__doc__',)
...
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: '__doc__' in __slots__ conflicts with class variable |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2016-11-09 17:19:06 | xiang.zhang | set | recipients: + xiang.zhang, pitrou, Arfrever, serhiy.storchaka, yselivanov |
| 2016-11-09 17:19:06 | xiang.zhang | set | messageid: <1478711946.18.0.547093965322.issue24329@psf.upfronthosting.co.za> |
| 2016-11-09 17:19:06 | xiang.zhang | link | issue24329 messages |
| 2016-11-09 17:19:06 | xiang.zhang | create | |