idiombench / Python /train /3.10 /protocol /modern_06.py
SwashBuckler001's picture
IdiomBench
16ef63d verified
Raw History Blame Contribute Delete
118 Bytes
from typing import Sized, Protocol
class SizedAndClosable(Sized, Protocol):
def close(self) -> None:
...