Peter Otten wrote: >>>helpfunc = getattr(self, "do_" + name[5:]).help > > i. e. it looks for getattr(self, "do_help") which does exist and then
Sorry that should be getattr(self, "do_done"). -- http://mail.python.org/mailman/listinfo/python-list
Peter Otten wrote: >>>helpfunc = getattr(self, "do_" + name[5:]).help > > i. e. it looks for getattr(self, "do_help") which does exist and then
Sorry that should be getattr(self, "do_done"). -- http://mail.python.org/mailman/listinfo/python-list