GlasgowEmbedded / glasgow

Scots Army Knife for electronics
BSD Zero Clause License
1.92k stars 189 forks source link

support.lazy: make `__bool__` work #648

Closed whitequark closed 4 months ago

whitequark commented 4 months ago

if lazy_obj: didn't work with e.g. str because str.__bool__() does not exist.