From 182e87d5955acaf56431d27722966a6dc4b06c7b Mon Sep 17 00:00:00 2001 From: "Tim D. Smith" Date: Thu, 4 Jan 2024 09:52:55 -0800 Subject: [PATCH] Point to data class transform PEP 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 c6cb5f574..09a7bd63e 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: