Hashable
Callable0
MethodType0
MethodNotFound0
Raised by object.__colookup__ when the given key is not initialized.
Type
Type__slots__0
__slots__ = ()
@classmethod
Type__prepare__0
__prepare__(Class, name, bases, **kw)
Type__new__0
__new__(*args, **kw)
object0
Base class for objects maintaining method aliases.
Subclasses of this type will have the comethod decorator available in the class body for designating the key that can be used to select the decorated method.
After the subclass is created, the metaclass will convert the decorator into the query interface for retrieving methods by their aliases.
object__slots__0
__slots__ = ()
object__comethods__
__comethods__ = None
@classmethod
object__colookup__340%Callable
__colookup__(Class, *key)
object__cobind__0MethodType
__cobind__(self, *key)
objectcomethod233%MethodType
comethod(self, *key)
Select the method associated with the given key.