indent hatası. hiç sevmem!

This commit is contained in:
Barış Metin
2005-06-16 10:19:11 +00:00
parent b5c5e415a4
commit 346229e4e7
+5 -5
View File
@@ -16,11 +16,11 @@ class Constants:
# Binding an attribute once to a const is available
self.__dict__[name] = value
def __delattr__(self, name):
if self.__dict__.has_key(name):
raise self.ConstError, "Can't unbind constant: %s" % name
# we don't have an attribute by this name
raise NameError, name
def __delattr__(self, name):
if self.__dict__.has_key(name):
raise self.ConstError, "Can't unbind constant: %s" % name
# we don't have an attribute by this name
raise NameError, name
c = __const()