def lookupFunction(self, proto, name, namespace):
<EOL>fName = self.autoDispatchPrefix + name<EOL>fObj = getattr(self, fName, None)<EOL>if fObj is not None:<EOL><INDENT>return self._auto(fObj, proto, namespace)<EOL><DEDENT>assert namespace is None, '<STR_LIT>'<EOL>fName = self.baseDispatchPrefix + name<EOL>return getattr(self, fName, None)<EOL>
Return a callable to invoke when executing the named command.