0 + not 0

candide c.candide at laposte.net
Sat Jul 11 13:48:26 CEST 2015


Le samedi 11 juillet 2015 13:21:03 UTC+2, Chris Angelico a écrit :
> I think you're misreading the table; 'not' has *lower* precedence than '+'.
> 


Right but Python docs helps a lot in misreading ;) Following the iconicity principle, it's pretty obvious that one has to display table priority beginning with items having the highest priority, cf. for instance table operator precedence for Java provided by oracle tutorial or for the C language as given by the K&R book.


More information about the Python-list mailing list