Subject | Re: [firebird-support] Re: NULL and equality |
---|---|
Author | Martijn Tonies |
Post date | 2004-05-28T15:01Z |
> --- In firebird-support@yahoogroups.com, "Martijn Tonies" wrote:But, what does "none" mean in this case?
> > 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
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com