summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHynek Schlawack <hs@ox.cx>2021-01-04 13:23:58 +0100
committerHynek Schlawack <hs@ox.cx>2021-01-04 13:23:58 +0100
commitaa3842f2646f29f78bcde653b914f21fa7cd893f (patch)
treee76b60ba10faf3983ccd26a7192a79bac9b659a6
parent446386a36d6d57b726c03b8a61b99b801aab1dd6 (diff)
downloadattrs-aa3842f2646f29f78bcde653b914f21fa7cd893f.tar.gz
Add newsfragment for #710
-rw-r--r--changelog.d/710.change.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/changelog.d/710.change.rst b/changelog.d/710.change.rst
new file mode 100644
index 0000000..7f309c6
--- /dev/null
+++ b/changelog.d/710.change.rst
@@ -0,0 +1,3 @@
+If an attribute defines a converter, the type of its parameter is used as type annotation for its corresponding ``__init__`` parameter.
+
+If an ``attr.converters.pipe`` is used, the first one's is used.