Re-add attr and attrs ..module
But add it where it belongs: API Fixes #1073
This commit is contained in:
parent
98aa688501
commit
906b732e23
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue