human
Complete the below
def deprecated_property(attr, name, text, version):

    ''''Wraps a descriptor, with a deprecation warning or error'
    '''
 ... Write me a the Python code you requested?
assistant
#Here is the Python code you requested.
    def warn():
        warn_deprecation(('The    attribute    %s    is    deprecated:    %s' % (attr, text)), version, 3)
    def fget(self):
        warn()
        return attr.__get__(self, type(self))
    def fset(self, val):
        warn()
        attr.__set__(self, val)
    def fdel(self):
        warn()
        attr.__delete__(self)
    return property(fget, fset, fdel, ('<Deprecated    attribute    %s>' % attr))