Re-add attr and attrs ..module

But add it where it belongs: API

Fixes #1073
This commit is contained in:
Hynek Schlawack 2023-01-02 16:27:37 +01:00
parent 98aa688501
commit 906b732e23
No known key found for this signature in database
GPG Key ID: AE2536227F69F181
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,9 @@
API Reference API Reference
============= =============
.. module:: attr
.. module:: attrs
.. currentmodule:: attr .. currentmodule:: attr
*attrs* works by decorating a class using `attrs.define` or `attr.s` and then optionally defining attributes on the class using `attrs.field`, `attr.ib`, or a type annotation. *attrs* works by decorating a class using `attrs.define` or `attr.s` and then optionally defining attributes on the class using `attrs.field`, `attr.ib`, or a type annotation.