Confessions of a Python fanboy
Masklinn
masklinn at masklinn.net
Thu Jul 30 13:57:54 EDT 2009
On 30 Jul 2009, at 19:42 , Carsten Haese wrote:
> r wrote:
>> Of course in python you would do...
>> vector.reverse --> in-place
>> vector.reversed --> in-place
>
> You do know that only one of those works in-place, right?
>
Well mostly because the other one doesn't exist (as python has
`lst.reverse()` but `reversed(lst)`) but he was probably talking
hypothetically. Or something.
More information about the Python-list
mailing list