sys.exit versus raise SystemExit

Will McGugan will at willNOmcguganSPAM.com
Mon Jan 8 17:03:55 CET 2007


Hi,

Is there any difference between calling sys.exit() and raise SystemExit? 
Should I prefer one over the other?

Regards,

Will McGugan
-- 
blog: http://www.willmcgugan.com



More information about the Python-list mailing list