Null object: Difference between revisions

Content added Content deleted
Line 33: Line 33:


=={{header|Python}}==
=={{header|Python}}==
<python>
<python>if x == None:
if x == None:
print "x is None"</python>
print "x is None"
</python>


=={{header|Ruby}}==
=={{header|Ruby}}==