Xiang Zhang added the comment:

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

----------
nosy: +xiang.zhang

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

Reply via email to