attrs/docs
Karthikeyan Singaravelan 8613af97bb
Add __match_args__ to support match case destructuring in Python 3.10 (#815)
* Add support to generate __match_args__ for Python 3.10.

* Add versionadded directive.

* Update stubs.

* Update changelog and add a test to typing examples.

* Fix error regarding new-style classes in Python 2.

* Fix lint error regarding line length.

* Fix lint error regarding trailing whitespace.

* Add docstrings for interrogate.

* Use _has_own_attribute instead of cls.__dict__ contains check.

* Update docs as per review comments.

* Revert mistaken changelog update.

* Add Python 3.10 pattern matching syntax test cases.

* Update define signature with match_args.

* Fix conftest formatting.

* Fix isort formatting.

* Bump to Python 3.10 to parse syntax.

* Bump basepython of lint to Python 3.10 for parsing.

* Move lint to py310

Co-authored-by: Hynek Schlawack <hs@ox.cx>
2021-05-18 07:02:06 +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 Add __match_args__ to support match case destructuring in Python 3.10 (#815) 2021-05-18 07:02:06 +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