<div class="gmail_quote">On Fri, Dec 25, 2009 at 8:28 PM, Steven D'Aprano <span dir="ltr"><<a href="mailto:steve@remove-this-cybersource.com.au">steve@remove-this-cybersource.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Fri, 25 Dec 2009 12:59:20 -0500, Benjamin Kaplan wrote:<br>
<br>
> On Fri, Dec 25, 2009 at 12:40 PM, Victor Subervi<br>
> <<a href="mailto:victorsubervi@gmail.com">victorsubervi@gmail.com</a>> wrote:<br>
>><br>
</div><div class="im">>> It returns nothing. I believe I've stated that three times now.<br>
><br>
</div><div class="im">> In Python, that's not possible. Every function returns something.<br>
<br>
<br>
</div>Unless it raises an exception.<br>
<div class="im"><br>
<br>
> If you<br>
> think it returns nothing, it probably returns None.<br>
<br>
</div>Very possibly, but this is Victor you're talking too, and as far as I can<br>
tell he hasn't shown his actual code. For all we know he has something<br>
like this:<br>
<br>
alist = [1, 2, 3]<br>
try:<br>
result = alist[100]<br>
except:<br>
pass<br>
print result<br>
<br>
<br>
See? Nothing is returned as the result.<br></blockquote><div><br></div></div>:)<br>