Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/l/a/Lampost-Mud-HEAD/lampost/mud/immortal.py   Lampost-Mud(Download)
from lampost.mud.action import imm_action
from lampost.model.player import Player
from lampost.util.lmutil import find_extra, patch_object, PatchError, str_to_primitive
from lampost.gameops.display import TELL_TO_DISPLAY
 
        new_value = None
    try:
        patch_object(target, prop, new_value)
    except PatchError as exp:
        return exp.message
        return "Object not found"
    try:
        patch_object(obj, prop, new_value)
    except PatchError as exp:
        return exp.message