Skip to content

Commit

Permalink
Point to data class transform PEP (#1223)
Browse files Browse the repository at this point in the history
PEP 689 is the unstable C API tier; PEP 681 is data class transforms.
  • Loading branch information
tdsmith authored Jan 5, 2024
1 parent 26d8dd7 commit b5e936d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/extending.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit b5e936d

Please sign in to comment.