On 2016-07-21 12:40, Marko Randjelovic wrote:
> Of course, but in examples I have neither ~ nor Not is imported from 
> trytond.pyson. How Python knows about new character of '~'? Also, how is 
> achieved possible to use ~ as an operator (there are no parenthesis)? 

'~' is a standard python operator so it does not need to be imported.
See https://docs.python.org/2/library/operator.html#operator.__invert__

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/20160722072450.GZ6791%40tetsuo.

Reply via email to