bslatkin / effectivepython

Effective Python: Second Edition — Source Code and Errata for the Book
https://effectivepython.com
2.2k stars 710 forks source link

Item 5: Code example missing indent #108

Closed altgeek closed 1 month ago

altgeek commented 2 years ago

See

green_str = my_values.get('green', [''])
if green_str[0]:
    green = int(green_str[0])
else:
green = 0
bslatkin commented 1 month ago

Thank you for the report! This is an issue with the epub/kindle edition in post production.

bslatkin commented 1 month ago

Duplicate of #63