From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 25 Aug 2023 16:23:11 +0000 (-0700) Subject: [3.12] Docs: Datamodel: Merge "Notes on using __slots__" with the parent section... X-Git-Tag: v3.12.0rc2~62 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ce37fbc778cbe330cc69e588ed89c7c8123d622c;p=thirdparty%2FPython%2Fcpython.git [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> --- diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 27b68d38e130..4c2d03eacdc2 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