Keith Devens .com |
Thursday, December 4, 2008 | ![]() |
| And if you go too far up, abstraction-wise, you run out of oxygen. Sometimes smart thinkers just don't... – Joel Spolsky | ||
|
| ← No Windows XP ass wiping! | Everything about Palm hacks → |

Adam Vandenberg wrote:
Feel free to post a comment below. Please see my comment policy.
Formatting Rules (No HTML):
Generated in about 0.183s.
(Used 8 db queries)

Python has the "is" operator for testing object identity.
By far the most common use of is / is not I've seen is testing an object against the singleton "None":
if stuff is not None:
# do something