Subject | Re: NULL and equality |
---|---|
Author | peter_jacobi.rm |
Post date | 2004-05-28T14:52:24Z |
--- In firebird-support@yahoogroups.com, "Martijn Tonies" wrote:
operator "==", but it is advised to use the object identity
operator "is" for performance reasons.
foo == None # allowed, but slower
foo is None # preferred
Regards,
Peter Jacobi
> Is that say? Gimme an example :-)In Python, you can test for None with the value-equality
operator "==", but it is advised to use the object identity
operator "is" for performance reasons.
foo == None # allowed, but slower
foo is None # preferred
Regards,
Peter Jacobi