Shorten enumeration

This commit is contained in:
Hynek Schlawack 2021-12-27 08:25:05 +01:00
parent f41c6603b3
commit 850df71ad2
1 changed files with 1 additions and 1 deletions

View File

@ -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.