At least one other person mentioned this was an error.
You could create a PR for the fastai repo.
Generally, the notebooks aren’t meant to be perfect. If you have to dig in a bit and reason about why an error occurs that’s a good thing. The recommended practice is not to just copy and execute the notebook but to watch the lecture and then try to recreate it from memory while looking things up online and in the fastai repo as needed.