From b5e936df557534ddbb29b829d3fbf83f7220b94b Mon Sep 17 00:00:00 2001 From: "Tim D. Smith" Date: Fri, 5 Jan 2024 01:03:24 -0800 Subject: [PATCH] Point to data class transform PEP (#1223) PEP 689 is the unstable C API tier; PEP 681 is data class transforms. --- docs/extending.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/extending.md b/docs/extending.md index c6cb5f57..09a7bd63 100644 --- a/docs/extending.md +++ b/docs/extending.md @@ -94,7 +94,7 @@ You can only use this trick to tell *Mypy* that a class is actually an *attrs* c ### Pyright -Generic decorator wrapping is supported in [*Pyright*](https://github.com/microsoft/pyright) via `typing.dataclass_transform` / {pep}`689`. +Generic decorator wrapping is supported in [*Pyright*](https://github.com/microsoft/pyright) via `typing.dataclass_transform` / {pep}`681`. For a custom wrapping of the form: