summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>2023-08-25 10:27:36 (GMT)
committerGitHub <noreply@github.com>2023-08-25 10:27:36 (GMT)
commit7f5b1a06612bf1454232ac634ad4d2c845f77b37 (patch)
treeb8f543814105ace8311391124dca9cc9b88ccaa8 /Doc/reference
parent4ae3edf3008b70e20663143553a736d80ff3a501 (diff)
downloadcpython-7f5b1a06612bf1454232ac634ad4d2c845f77b37.zip
cpython-7f5b1a06612bf1454232ac634ad4d2c845f77b37.tar.gz
cpython-7f5b1a06612bf1454232ac634ad4d2c845f77b37.tar.bz2
Docs: Datamodel: Merge "Notes on using __slots__" with the parent section (#108400)
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/datamodel.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 229fa69..484dd9c 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -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