?

Log in

No account? Create an account
   Journal    Friends    Archive    Profile    Memories
 

Python doc - morfizm


Jan. 4th, 2011 04:52 pm Python doc10 comments - Leave a commentPrevious Entry Share Next Entry

Comments:

From:morfizm
Date:January 5th, 2011 07:04 am (UTC)
(Link)
Python language spec pretty clearly spells out that -1 is not a negative constant (at least, not a negative constant literal, when specified in source code). It's positive constant with unary - (see quote).

Edited at 2011-01-05 07:05 am (UTC)