Fix http URLs

This commit is contained in:
Hynek Schlawack 2022-03-10 14:01:23 +01:00
parent 112e50fcfa
commit 2a703ccfdf
1 changed files with 2 additions and 2 deletions

View File

@ -474,7 +474,7 @@ Changes
That callable must return a string and is then used for formatting the attribute by the generated ``__repr__()`` method.
`#568 <https://github.com/python-attrs/attrs/issues/568>`_
- Added ``attr.__version_info__`` that can be used to reliably check the version of ``attrs`` and write forward- and backward-compatible code.
Please check out the `section on deprecated APIs <http://www.attrs.org/en/stable/api.html#deprecated-apis>`_ on how to use it.
Please check out the `section on deprecated APIs <https://www.attrs.org/en/stable/api.html#deprecated-apis>`_ on how to use it.
`#580 <https://github.com/python-attrs/attrs/issues/580>`_
.. _`#425`: https://github.com/python-attrs/attrs/issues/425
@ -848,7 +848,7 @@ Changes:
- Accordingly, ``attr.validators.optional()`` now can take a list of validators too.
`#161 <https://github.com/python-attrs/attrs/issues/161>`_
- Validators can now be defined conveniently inline by using the attribute as a decorator.
Check out the `validator examples <http://www.attrs.org/en/stable/init.html#decorator>`_ to see it in action!
Check out the `validator examples <https://www.attrs.org/en/stable/init.html#decorator>`_ to see it in action!
`#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.
In other words you can define attribute defaults based on other attributes.