Skip to content

Little docu bug #447

@axgkl

Description

@axgkl

Too small for a PR (afraid to make sth wrong):

~/Documents/GitHub/attrs/docs $ git diff
diff --git a/docs/extending.rst b/docs/extending.rst
index 11f2a74..7b185e8 100644
--- a/docs/extending.rst
+++ b/docs/extending.rst
@@ -13,6 +13,7 @@ So it is fairly simple to build your own decorators on top of ``attrs``:
    >>> import attr
    >>> def print_attrs(cls):
    ...     print(cls.__attrs_attrs__)
+   ...     return cls
    >>> @print_attrs
    ... @attr.s
    ... class C(object):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions