On Friday, July 29, 2016 at 6:25:51 AM UTC+12, Enjoys Math wrote:

>                 exec('obj = ' + objType + '(self)', None, _locals)
>                 obj = _locals['obj']

Why? Why not just

    obj = objType(self)

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

Reply via email to