[docs] [issue29330] __slots__ needs documentation

saumitra paul report at bugs.python.org
Thu Jan 19 17:54:14 EST 2017


saumitra paul added the comment:

Python 2.7.10 (default, Oct 23 2015, 19:19:21)

[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)] on darwin

Type "help", "copyright", "credits" or "license" for more information.

>>> help(__slots__)

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

NameError: name '__slots__' is not defined

>>> help('__slots__')

no Python documentation found for '__slots__'

>>>

On Thu, Jan 19, 2017 at 2:48 PM, Martin Panter <report at bugs.python.org>
wrote:

>
> Martin Panter added the comment:
>
> Have you seen <https://docs.python.org/2.7/reference/datamodel.html#slots>?
> There is also <https://docs.python.org/2.7/glossary.html#term-slots>.
>
> ----------
> assignee:  -> docs at python
> components: +Documentation
> nosy: +docs at python, martin.panter
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue29330>
> _______________________________________
>

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29330>
_______________________________________


More information about the docs mailing list