code: def editor(self, value):
          
  
          if value is not None:
              assert type(value) is Editor, "'{0}' attribute: '{1}' type is not 'Editor'!".format("editor", value)
          self.__editor = value
docs: Setter for **self.__editor** attribute.
  
          :param value: Attribute value.
          :type value: Editor