You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
------------------------------------------------------------
...
if TYPE_CHECKING:
from game.mobject import Game
class Container[Card: CardBase]:
^
------------------------------------------------------------
scripts/arena/container/mobject.py:13:15: Expected ':', found '['```bash### Code to reproduce the behaviour:```python
class Container[Card: CardBase]:
pass
Expected behaviour
No response
OS
archlinux
Python version
3.12.7
Cython version
3.0.11
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Hello, I am trying to use Cython to compile my Python code, which involves Generic classes (https://docs.python.org/3.12/reference/compound_stmts.html#generic-classes). I encountered the following error during the conversion:
Error compiling Cython file:
Expected behaviour
No response
OS
archlinux
Python version
3.12.7
Cython version
3.0.11
Additional context
No response
The text was updated successfully, but these errors were encountered: