]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] 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 16:23:11 +0000 (09:23 -0700)
committerGitHub <noreply@github.com>
Fri, 25 Aug 2023 16:23:11 +0000 (18:23 +0200)
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>
Doc/reference/datamodel.rst

index 27b68d38e13030d087db2a832a69a1dd174f5755..4c2d03eacdc277d78b406a23b7913abe3fc4bd91 100644 (file)
@@ -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