File size: 118 Bytes
5eb110b
 
 
 
 
1
2
3
4
5
6
from typing import Sized, Protocol

class SizedAndClosable(Sized, Protocol):
    def close(self) -> None:
        ...