mirror of
https://github.com/python/cpython
synced 2026-09-28 06:13:18 +03:00
Docs: Datamodel: Merge "Notes on using __slots__" with the parent section (#108400)
This commit is contained in:
parent
4ae3edf300
commit
7f5b1a0661
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue