]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] Docs: Datamodel: Merge "Notes on using __slots__" with the parent section...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 25 Aug 2023 11:04:00 +0000 (04:04 -0700)
committerGitHub <noreply@github.com>
Fri, 25 Aug 2023 11:04:00 +0000 (13:04 +0200)
(cherry picked from commit 7f5b1a06612bf1454232ac634ad4d2c845f77b37)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Doc/reference/datamodel.rst

index 65d1ca1b8ddcbeea57f48e42e69eaae067e1e870..2666a01dc24dc75a6b1b599b25b57f4cbe1f31c9 100644 (file)
@@ -1907,8 +1907,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