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

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

src/l/a/Lampost-Mud-HEAD/lampost/model/item.py   Lampost-Mud(Download)
from lampost.gameops.action import item_action
from lampost.gameops.display import TELL_TO_DISPLAY
from lampost.gameops.template import TemplateInstance, TemplateMeta
 
m_requires('dispatcher', __name__)
class BaseItemMeta(TemplateMeta):
    def __init__(cls, class_name, bases, new_attrs):
        super(BaseItemMeta, cls).__init__(class_name, bases, new_attrs)
        cls.class_providers = {func.func_name for func in new_attrs.viewvalues() if hasattr(func, 'verbs')}
        for base in bases: