From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 25 Aug 2023 11:04:00 +0000 (-0700) Subject: [3.11] Docs: Datamodel: Merge "Notes on using __slots__" with the parent section... X-Git-Tag: v3.11.6~189 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8cf3cae8c51f684ae9ea9531456398b7e8fddba5;p=thirdparty%2FPython%2Fcpython.git [3.11] Docs: Datamodel: Merge "Notes on using __slots__" with the parent section (GH-108400) (#108475) (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 65d1ca1b8ddc..2666a01dc24d 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -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