any suggestion on this code

Steve D'Aprano steve+python at pearwood.info
Sun Apr 23 14:29:30 EDT 2017


On Sun, 23 Apr 2017 06:21 pm, Ganesh Pal wrote:

> 1.      Any better suggestion to optimize the code  and any other
> observations  around use of assert, generators  and are exception handled
> correctly in  return_matched_owner()

When to use assert:

http://import-that.dreamwidth.org/676.html




-- 
Steve
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure
enough, things got worse.




More information about the Python-list mailing list