On Thu, Oct 15, 2009 at 10:58 AM, Peng Yu <pengyu...@gmail.com> wrote:

> I actually wanted to ask what return code should be returned in this
> case when the arguments are not right. Thank you1
>
>
I think that depends on the design of the program. Is there a return value
that would make sense to be returned by default? If not, None is usually a
good choice. Be sure to put these return values in the doc string.

Cheers,
Xav
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to