basic bytecode to machine code compiler (part 3)

Ulrich Eckhardt ulrich.eckhardt at dominolaser.com
Tue Jun 21 06:55:03 EDT 2011


Rouslan Korneychuk wrote:
> if i != pindex:
>     (less if x <= pivot else greater).append(x)

Just curious, is there a reason why you wrote this last line that way 
instead of using a "normal" if/else clause?


Cheers!

Uli


-- 
Domino Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932




More information about the Python-list mailing list