using reverse in list of tuples

Terry Reedy tjreedy at udel.edu
Thu Jun 10 01:02:02 EDT 2010


On 6/9/2010 8:39 PM, james_027 wrote:
> hi,
>
> I am trying to reverse the order of my list of tuples and its is
> returning a None to me. Is the reverse() function not allow on list
> containing tuples?

No. Mutation methods of builtins generally return None.





More information about the Python-list mailing list