Skip to content

Commit 66be2fa

Browse files
committed
Let's try that again.
1 parent 8e0a3e4 commit 66be2fa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

changelog.d/239.change.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Added ``type`` argument to ``attr.attr()`` and corresponding ``type`` attribute to ``attr.Attribute``.
2+
This value can be inspected by third-party tools for type checking and serialization.
3+
In Python 3.6 or higher, the value of ``attr.Attribute.type`` can also be set using variable type annotations (see `PEP 526 <https://www.python.org/dev/peps/pep-0526/>`_).

0 commit comments

Comments
 (0)