I was looking at an in-house code base today, and the author seems to have a 
rather idiosyncratic approach to Python. For example:


for k, v in mydict.items(): 
    del(k)
    ...


instead of the more obvious

for v in mydict.values(): 
    ...



What are your favorite not-wrong-just-weird Python moments?



-- 
Steve

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to