diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-08-25 16:23:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-25 16:23:11 (GMT) |
commit | ce37fbc778cbe330cc69e588ed89c7c8123d622c (patch) | |
tree | 6a3b57d37ba53e85ead511a8062ddafc16243663 | |
parent | 334da81992201f3e3049358a1a9de84761da4538 (diff) | |
download | cpython-ce37fbc778cbe330cc69e588ed89c7c8123d622c.zip cpython-ce37fbc778cbe330cc69e588ed89c7c8123d622c.tar.gz cpython-ce37fbc778cbe330cc69e588ed89c7c8123d622c.tar.bz2 |
[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 7f5b1a06612bf1454232ac634ad4d2c845f77b37)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
-rw-r--r-- | Doc/reference/datamodel.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 27b68d3..4c2d03e 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -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 |