mirror of
https://github.com/python/cpython.git
synced 2025-08-15 06:10:47 +00:00
[3.12] Docs: Datamodel: Merge "Notes on using __slots__" with the parent section (GH-108400) (#108474)
Docs: Datamodel: Merge "Notes on using __slots__" with the parent section (GH-108400)
(cherry picked from commit 7f5b1a0661
)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
This commit is contained in:
parent
334da81992
commit
ce37fbc778
1 changed files with 1 additions and 2 deletions
|
@ -2024,8 +2024,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