attrs/docs
Rebecca Turner e84b57ea68
Inline distutils.util.strtobool in tests (closes #813) (#830)
* Inline distutils.util.strtobool in tests (#813)

`distutils` is deprecated in Python 3.10 and slated for removal in
Python 3.12. Fortunately, `attrs` only uses `distutils` once and it's
trivial to remove.

As suggested by @sscherfke, add the `to_bool` converter to
`converters.py`.

Closes #813

Co-authored-by: Stefan Scherfke <stefan@sofa-rockers.org>

* Use :raises: directive in docstring

* Remove f-strings for Py2.7 and 3.5 support

* Add to_bool tests

Co-authored-by: Stefan Scherfke <stefan@sofa-rockers.org>
Co-authored-by: Hynek Schlawack <hs@ox.cx>
2021-08-10 07:45:28 +02:00
..
_static logo: Split `path` into multiple paths (#719) 2020-11-20 08:36:07 +01:00
Makefile Gut docs for now 2015-01-27 23:03:04 +01:00
api.rst Inline distutils.util.strtobool in tests (closes #813) (#830) 2021-08-10 07:45:28 +02:00
backward-compatibility.rst the twisted backwards compatability policy moved (#688) 2020-09-10 13:22:20 +02:00
changelog.rst Repo janitoring 2015-12-08 15:47:03 +01:00
comparison.rst Simplify import 2021-05-05 10:15:26 +02:00
conf.py add sphinx-notfound-page (#777) 2021-03-10 07:57:26 +01:00
contributing.rst Clean up main directory a bit 2017-12-27 13:32:32 +01:00
docutils.conf Fix doc build on sphinx 1.6.1 2017-05-22 16:16:12 -07:00
examples.rst Revert recursive evolve (#806) 2021-05-06 15:26:27 +02:00
extending.rst Unpin pyright & minor docs polish 2021-05-05 16:06:09 +02:00
glossary.rst Beef up glossary and urge people more to read it 2020-09-28 11:27:37 +01:00
hashing.rst Split cmp into eq and order (#574) 2019-09-22 15:07:19 +02:00
how-does-it-work.rst Add on_setattr hooks to attr.s and attr.ib (#660) 2020-07-20 12:43:10 +02:00
index.rst Document comparison (#768) 2021-02-26 07:53:57 +01:00
init.rst Add narrative docs for #731 2021-04-06 07:27:11 +02:00
license.rst Anarchy! 2021-02-25 08:46:28 +01:00
overview.rst fix: small error in docs (#794) 2021-04-23 18:04:35 +02:00
python-2.rst Add Python 2 statement (#498) 2019-02-10 07:32:19 +01:00
types.rst Unpin pyright & minor docs polish 2021-05-05 16:06:09 +02:00
why.rst Anarchy! 2021-02-25 08:46:28 +01:00