update from O'Reilly repo
This commit is contained in:
6
15-type-hints/randompop.py
Normal file
6
15-type-hints/randompop.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from typing import Protocol, TypeVar, runtime_checkable, Any
|
||||
|
||||
|
||||
@runtime_checkable
|
||||
class RandomPopper(Protocol):
|
||||
def pop_random(self) -> Any: ...
|
||||
Reference in New Issue
Block a user