SwashBuckler001's picture
IdiomBench (part 2)
454dedb verified
Raw History Blame Contribute Delete
144 Bytes
from typing import Generic, TypeVar
T = TypeVar('T')
class Box(Generic[T]):
def __init__(self, content):
self.content: T = content