added has()

This commit is contained in:
Darren Ranalli 2005-03-04 23:44:21 +00:00
parent 60af68519f
commit 9bde0aae7e

View File

@ -76,6 +76,9 @@ class OnScreenDebug:
self.data[key] = (self.frame, value)
return 1 # to allow assert(onScreenDebug.add("foo", bar))
def has(self, key):
return key in self.data
def remove(self, key):
del self.data[key]