coconut
coconut copied to clipboard
Compile variadic generic typing syntax to Unpack calls
Should compile
class Array(Generic[*Shape]): ...
to the equivalent of
from typing_extensions import Unpack
class Array(Generic[Unpack[Shape]]): ...