Skip to content

Commit 7d50f86

Browse files
committed
Add changelog entry
1 parent 2b1f7be commit 7d50f86

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

newsfragments/4926.added.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Introduced a new optional parameter with `#[pyclass(generic)]`. This new
2+
parameter makes classes support generic typing at the runtime following
3+
[PEP 560](https://peps.python.org/pep-0560/). It is an alternative
4+
to inheriting from [typing.Generic](https://docs.python.org/3/library/typing.html#typing.Generic).

0 commit comments

Comments
 (0)