--- [EMAIL PROTECTED] wrote:

> >>Python manual has a very brief introduction 
> >>of "assert" statements. It is very difficult 
> 
> First you probably don't need to use asserts 
> very often, they are useful if you are building 
> production strength code but for most users 
> of Python the exception mechanism is good enough.
> 

This link makes some good points about how and when
to use assertions:
http://java.sun.com/j2se/1.4.2/docs/guide/lang/assert.html

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to