attrs/docs
Alex Ford ee3ecb112f
Add Attribute.alias (#950)
* Spike `alias` implementation.

* Move default alias init to after field_transformer.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fixup docs.

* Update docs/extending.rst

* Pre-commit fixes

* Partially fix doctest

* Add test docstrings.

* Add typing_example tests

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Tidy typing_example

* Add note in init.rst on private aliases

* Add alias example to examples.rst

* Assert to comment

* Add changelog entry

* Fixup doc error

* Tidy dataclass_transform docs

* Lil' spice for the changelog.

* Fix doctest

* Update extending.rst

* Make alias introspection more explicit

* Update src/attr/_make.py

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hynek Schlawack <hs@ox.cx>
2022-11-30 14:39:57 +00:00
..
_static Start building Dash/Zeal docsets for docs (#1056) 2022-11-25 08:30:34 +01:00
Makefile Gut docs for now 2015-01-27 23:03:04 +01:00
api.rst Add Attribute.alias (#950) 2022-11-30 14:39:57 +00:00
changelog.rst Use more commen term from keep a changelog 2022-09-12 15:23:20 +02:00
comparison.rst Add missing cmp_using to stub files (#949) 2022-04-07 07:29:24 +02:00
conf.py Start moving docs to MyST / Markdown (#1053) 2022-11-16 13:58:25 +01:00
docutils.conf Fix doc build on sphinx 1.6.1 2017-05-22 16:16:12 -07:00
examples.rst Add Attribute.alias (#950) 2022-11-30 14:39:57 +00:00
extending.rst Add Attribute.alias (#950) 2022-11-30 14:39:57 +00:00
glossary.rst Use NG APIs in glossary 2022-07-28 08:47:28 +02:00
hashing.rst Clean up some more Python 2-isms (#942) 2022-03-21 15:45:05 +01:00
how-does-it-work.rst Speedup `_setattr` usage and fix slight performance regressions (#991) 2022-08-07 07:52:28 +00:00
index.md Start moving docs to MyST / Markdown (#1053) 2022-11-16 13:58:25 +01:00
init.rst Add Attribute.alias (#950) 2022-11-30 14:39:57 +00:00
license.md Start moving docs to MyST / Markdown (#1053) 2022-11-16 13:58:25 +01:00
names.rst Drop Python 3.5 (#988) 2022-08-05 09:48:00 +02:00
overview.rst Start moving docs to MyST / Markdown (#1053) 2022-11-16 13:58:25 +01:00
types.rst No longer explicitly subclass ‘object’ (#940) 2022-03-21 10:35:44 +01:00
why.rst Eliminate most str.format() and %-formatting (#995) 2022-08-10 12:41:46 +02:00