Constants'dan silmek istediğimizde doğru olanı yapsın ve _const'a göndersin bizi :)

This commit is contained in:
Barış Metin
2005-06-16 11:02:02 +00:00
parent bdffc3b83c
commit b600cc969c
+2
View File
@@ -40,6 +40,8 @@ class Constants:
def __setattr__(self, attr, value):
return setattr(self.c, attr, value)
def __delattr__(self, attr):
return delattr(self.c, attr)
class Context(object):
"""Config/Context Singleton"""