Re: >< swap operator

2018-08-14 Thread Brian Oney via Python-list
On Tue, 2018-08-14 at 10:55 -0400, Dennis Lee Bieber wrote: > On Tue, 14 Aug 2018 06:18:41 -0700 (PDT), skybuck2...@hotmail.com declaimed > the following: > > > On Monday, August 13, 2018 at 10:01:37 PM UTC+2, Léo El Amri wrote: > > > On 13/08/2018 21:54, skybuck2...@hotmail.com wrote: > > > > I j

Re: >< swap operator

2018-08-14 Thread Marko Rauhamaa
skybuck2...@hotmail.com: > On Monday, August 13, 2018 at 10:01:37 PM UTC+2, Léo El Amri wrote: >> On 13/08/2018 21:54, skybuck2...@hotmail.com wrote: >> > I just had a funny idea how to implement a swap operator for types: >> > >> > A >< B >> > >> > would mean swap A and B. >> >> I think that: >

Re: >< swap operator

2018-08-14 Thread skybuck2000
On Monday, August 13, 2018 at 10:01:37 PM UTC+2, Léo El Amri wrote: > On 13/08/2018 21:54, skybuck2...@hotmail.com wrote: > > I just had a funny idea how to implement a swap operator for types: > > > > A >< B > > > > would mean swap A and B. > > I think that: > > a, b = b, a > > is pretty enou