On Thu, Oct 15, 2009 at 10:58 AM, Peng Yu <span dir="ltr"><<a href="mailto:pengyu.ut@gmail.com">pengyu.ut@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

I actually wanted to ask what return code should be returned in this<br>
case when the arguments are not right. Thank you1<br>
<div><div></div><br></div></blockquote><div><br>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.<br>

<br>Cheers,<br>Xav<br></div></div>