Skip to content

Commit

Permalink
[3.12] Docs: Datamodel: Merge "Notes on using __slots__" with the par…
Browse files Browse the repository at this point in the history
…ent section (pythonGH-108400) (python#108474)

Docs: Datamodel: Merge "Notes on using __slots__" with the parent section (pythonGH-108400)
(cherry picked from commit 7f5b1a0)

Co-authored-by: Adam Turner <[email protected]>
  • Loading branch information
miss-islington and AA-Turner authored Aug 25, 2023
1 parent 334da81 commit ce37fbc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Doc/reference/datamodel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ce37fbc

Please sign in to comment.