An alternative to pass is
        raise NotImplementedError

This has the advantage/disadvantage of providing a meaningful exception
when you start testing and forget to provide some processing logic for a
stub function.  pass will simply return None when used for a function
body.  I nearly always use the NotImplementedError exception now in my
code as the place holder.


-- 
Lloyd Kvam
Venix Corp

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to