How come StopIteration.__base__ is not BaseException?

Marco Buttu marco.buttu at gmail.com
Mon Aug 26 15:37:32 EDT 2013


Since StopIteration is not an error, how come does it inherit directly 
from Exception and not from BaseException?

Thanks in advance, Marco
-- 
Marco



More information about the Python-list mailing list