Fix build

This commit is contained in:
Hynek Schlawack 2018-05-03 18:49:18 +02:00
parent 6717d0933f
commit 8274c9fdbc
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ Changes:
- Accordingly, ``attr.validators.optional()`` now can take a ``list`` of validators too. - Accordingly, ``attr.validators.optional()`` now can take a ``list`` of validators too.
`#161 <https://github.com/python-attrs/attrs/issues/161>`_ `#161 <https://github.com/python-attrs/attrs/issues/161>`_
- Validators can now be defined conveniently inline by using the attribute as a decorator. - Validators can now be defined conveniently inline by using the attribute as a decorator.
Check out the `examples <http://www.attrs.org/en/stable/examples.html#validators>`_ to see it in action! Check out the `validator examples <http://www.attrs.org/en/stable/examples.html#validators>`_ to see it in action!
`#143 <https://github.com/python-attrs/attrs/issues/143>`_ `#143 <https://github.com/python-attrs/attrs/issues/143>`_
- ``attr.Factory()`` now has a ``takes_self`` argument that makes the initializer to pass the partially initialized instance into the factory. - ``attr.Factory()`` now has a ``takes_self`` argument that makes the initializer to pass the partially initialized instance into the factory.
In other words you can define attribute defaults based on other attributes. In other words you can define attribute defaults based on other attributes.