Closed jonfernandes closed 4 months ago
@jonfernandes Thanks for the report. I don't see it this way in my copy of the book. Can you provide more context about where you saw it this way? Was it an ebook version or kindle or something like that? Thanks
@bslatkin I came here to report the same bug as well. Seems like @jonfernandes forgot to follow up on your question. Here's where I see it:
from https://learning.oreilly.com/library/view/effective-python-90/9780134854717/ch03.xhtml
Gotcha. This appears to be an issue with the O'Reilly eBook specifically. I'll have to follow up with the publisher to figure this out. Thanks for the extra info @cihati!
Going to follow up on this one for post-production
The return statement is not within the method definition. i.e. it should be this
NOT