getlist question

Benjamin Kaplan benjamin.kaplan at case.edu
Fri Dec 25 12:59:20 EST 2009


On Fri, Dec 25, 2009 at 12:40 PM, Victor Subervi
<victorsubervi at gmail.com> wrote:
>
> It returns nothing. I believe I've stated that three times now.

In Python, that's not possible. Every function returns something. If
you think it returns nothing, it probably returns None.

>>> def foo() : pass
...
>>> a = foo()
>>> print a
None



More information about the Python-list mailing list