4 ms·
Seems fine to me :shrug: as long as you know that using yield changes the ‘def’ to return a generator. It’s a bit of syntactic sugar but simple enough to follow
by redman25 3y ago
Seems fine to me :shrug: as long as you know that using yield changes the ‘def’ to return a generator. It’s a bit of syntactic sugar but simple enough to follow.