We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b1f7be commit 7d50f86Copy full SHA for 7d50f86
newsfragments/4926.added.md
@@ -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