We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
Iterator
typing
Callable
TypeVar
The text was updated successfully, but these errors were encountered:
Looks like this will be closed by #61
Sorry, something went wrong.
Thanks. We need to do a pass through the book to handle these inconsistencies in what imports are shown and what aren't.
No branches or pull requests
pg. 119 has the following code snippet
It seems odd to explicitly import
Iterator
fromtyping
, but notCallable
orTypeVar
.The text was updated successfully, but these errors were encountered: