mirror of https://github.com/python/cpython
Docs: Datamodel: Merge "Notes on using __slots__" with the parent section (#108400)
This commit is contained in:
parent
4ae3edf300
commit
7f5b1a0661
|
@ -1920,8 +1920,7 @@ Attribute lookup speed can be significantly improved as well.
|
|||
|
||||
.. _datamodel-note-slots:
|
||||
|
||||
Notes on using *__slots__*
|
||||
""""""""""""""""""""""""""
|
||||
Notes on using *__slots__*:
|
||||
|
||||
* When inheriting from a class without *__slots__*, the
|
||||
:attr:`~object.__dict__` and
|
||||
|
|
Loading…
Reference in New Issue