Fix docs for Sphinx 3

This commit is contained in:
Hynek Schlawack 2020-04-28 09:21:19 +02:00
parent 33b61316f8
commit 6fcdc3d78f
1 changed files with 1 additions and 1 deletions

View File

@ -539,7 +539,7 @@ The generated ``__init__`` method will have an attribute called ``__annotations_
Slots Slots
----- -----
:term:`Slotted classes` have a bunch of advantages on CPython. :term:`Slotted classes <slotted classes>` have several advantages on CPython.
Defining ``__slots__`` by hand is tedious, in ``attrs`` it's just a matter of passing ``slots=True``: Defining ``__slots__`` by hand is tedious, in ``attrs`` it's just a matter of passing ``slots=True``:
.. doctest:: .. doctest::