attr_utils.docstrings

Add better docstrings to attrs generated functions.

Data:

_T

Invariant TypeVar bound to typing.Type.

Functions:

add_attrs_doc(​obj)

Add better docstrings to attrs generated functions.

_T = TypeVar(_T, bound=typing.Type)

Type:    TypeVar

Invariant TypeVar bound to typing.Type.

add_attrs_doc(obj)[source]

Add better docstrings to attrs generated functions.

Parameters

obj (~_T) – The class to improve the docstrings for.

Return type

~_T