RL-book
RL-book copied to clipboard
Inconsistent code snippet imports
pg. 119 has the following code snippet
from typing import Iterator
X = TypeVar('X')
def iterate(step: Callable[[X], X], start: X) -> Iterator[X]:
...
It seems odd to explicitly import Iterator
from typing
, but not Callable
or TypeVar
.