Latest recipes tagged "null"http://code.activestate.com/recipes/tags/null/new/2013-05-26T10:59:13-07:00ActiveState Code Recipesnull null (Python)
2013-05-26T10:55:07-07:00Joe Smithhttp://code.activestate.com/recipes/users/4168055/http://code.activestate.com/recipes/577240-null-null/
<p style="color: grey">
Python
recipe 577240
by <a href="/recipes/users/4168055/">Joe Smith</a>
(<a href="/recipes/tags/null/">null</a>).
Revision 4.
</p>
<p>null null null</p>
null (C)
2013-05-26T10:55:59-07:00Joe Smithhttp://code.activestate.com/recipes/users/4168055/http://code.activestate.com/recipes/577239-null/
<p style="color: grey">
C
recipe 577239
by <a href="/recipes/users/4168055/">Joe Smith</a>
(<a href="/recipes/tags/null/">null</a>).
Revision 2.
</p>
<p>null null</p>
null null (C)
2013-05-26T10:59:13-07:00Joe Smithhttp://code.activestate.com/recipes/users/4168055/http://code.activestate.com/recipes/577019-null-null/
<p style="color: grey">
C
recipe 577019
by <a href="/recipes/users/4168055/">Joe Smith</a>
(<a href="/recipes/tags/null/">null</a>).
Revision 2.
</p>
<p>null null</p>
null null (C++)
2013-05-26T10:56:38-07:00Joe Smithhttp://code.activestate.com/recipes/users/4168055/http://code.activestate.com/recipes/576565-null-null/
<p style="color: grey">
C++
recipe 576565
by <a href="/recipes/users/4168055/">Joe Smith</a>
(<a href="/recipes/tags/null/">null</a>).
Revision 2.
</p>
<p>null</p>
Yet another Null object (Python)
2008-11-11T15:24:20-08:00George Sakkishttp://code.activestate.com/recipes/users/2591466/http://code.activestate.com/recipes/576562-yet-another-null-object/
<p style="color: grey">
Python
recipe 576562
by <a href="/recipes/users/2591466/">George Sakkis</a>
(<a href="/recipes/tags/design_pattern/">design_pattern</a>, <a href="/recipes/tags/dummy/">dummy</a>, <a href="/recipes/tags/null/">null</a>).
</p>
<p>This recipe builds on two previously posted recipes for a <a href="http://code.activestate.com/recipes/68205/">null</a> or <a href="http://code.activestate.com/recipes/576447/">dummy</a> object by modifying a few methods (e.g. as in SQL, <code>Null == Null</code> is Null, not True), supporting most (all?) special methods (e.g. int(Null)) and providing correct pickling/unpickling.</p>