Shorten enumeration
This commit is contained in:
parent
f41c6603b3
commit
850df71ad2
|
@ -83,7 +83,7 @@ Types are entirely **optional** with ``attrs``.
|
|||
Simply assign ``attrs.field()`` to the attributes instead of annotating them with types.
|
||||
|
||||
This example uses ``attrs``'s `modern APIs <https://www.attrs.org/en/stable/api.html#next-generation-apis>`_ that have been introduced in version 20.1.0.
|
||||
The classic APIs (``@attr.s``, ``attr.ib``, ``@attr.attrs``, ``attr.attrib``, and ``attr.dataclass``) will remain indefinitely.
|
||||
The classic APIs (``@attr.s``, ``attr.ib``, and their serious business aliases) will remain indefinitely.
|
||||
|
||||
Please check out `On The Core API Names <https://www.attrs.org/en/latest/names.html>`_ for a more in-depth explanation.
|
||||
|
||||
|
|
Loading…
Reference in New Issue