How to decorate an attribute decorator in Python?

this is a

that I wrote to output the log according to doc-string.

def log_attr(func):
    """doc-string"""
    doc = func.__doc__
    if func.__class__.__name__ == "property":
        @property
        def warpper(self, *args, **kwargs):
            data = {}
            data.update({"type_name": self.type_name})
            if self.__class__.__name__ == "People":
                data.update({"name": self.name})
            elif re.match(r"Question|Column|Collection|Topic", self.__class__.__name__):
                data.update({"name": self.title})
            elif re.match(r"Answer|Article", self.__class__.__name__):
                data.update({"name": self.author.name})

            log(doc.format(**data))
            return func.__get__.__call__(self, *args, **kwargs)  
        return warpper

when I use it as an attribute

@log_attr
@iter -sharp
@propery -sharp aaa()()
def aaa(x):
    pass

shows that the AttributeError, object cannot find the property

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2af02-4d0f3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2af02-4d0f3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?