ch15: draft examples

This commit is contained in:
Luciano Ramalho
2021-05-20 22:58:05 -03:00
parent 5312d4f824
commit 1689eec623
19 changed files with 501 additions and 36 deletions

View File

@@ -0,0 +1,6 @@
from typing import Protocol, runtime_checkable, Any
@runtime_checkable
class RandomPopper(Protocol):
def pop_random(self) -> Any: ...