File size: 144 Bytes
e54eaab
 
 
 
 
 
1
2
3
4
5
6
7
from typing import Generic, TypeVar
T = TypeVar('T')

class Box(Generic[T]):
    def __init__(self, content):
        self.content: T = content