def func(self):
        "Define command"

        caller = self.caller
        if not self.args and 'edit' not in self.switches:
            caller.msg("Usage: @desc [<obj> =] <description>")
            return

        if 'edit' == self.switches:
            self.edit_handler()
            return

        if self.rhs:
            # We have an =
            obj = caller.search(self.lhs)
            if not obj:
                return
            desc = self.rhs
        else:
            obj = caller.location or self.msg("{rYou can't describe oblivion.{n")
            if not obj:
                return
            desc = self.args

        obj.db.desc = desc
        caller.msg("The description was set on %s." % obj.get_display_name(caller))
dataset/ETHPy150Open evennia/evennia/evennia/commands/default/building.py/CmdDesc.func/operator `in` -> `==`