list.pop and print doing funny things
Fredrik Lundh
fredrik at pythonware.com
Wed Sep 22 03:08:48 EDT 2004
Roy Smith wrote:
>> does not return a non-None result.
>
> Is that another way of saying, "returns None"?
sure, but it's also a direct reference to the phrases "the result of every
expression that returns a non-None value is displayed." and "Your
"l.pop(l.index(x))" returns a non-None result" that comes just before
it. do you often read posts from the bottom up, or do you just have
a very short short-term memory? ;-)
</F>
More information about the Python-list
mailing list