Thanks Ross. Found that this morning. It's a typo in the book.
For future readers finding this post on a search; Make sure you put the closing paren in the correct spot or your new error is a bit more substantial. (Python shell returns an error saying, 'Query' object has no attribute 'select' ).

