def write_only_property ( f ) : docstring = f . __doc__ return property ( fset = f , doc = docstring )
python property setter not callable
def write_only_property(f):
    """
    @write_only_property decorator. Creates a property (descriptor attribute)
    that accepts assignment, but not getattr (use in an expression).
    """
    docstring = f.__doc__

    return property(fset=f, doc=docstring)