def process_args(self, frame, anchor, args, kwargs): if len(args) == 1: self.found.update_type(NoneType.get_object()) return BuiltinConstMethod.process_args(self, frame, anchor, args, kwargs)
def process_args(self, frame, anchor, args, kwargs): if len(args) == 1: frame.raise_expt(ErrorConfig.MaybeKeyNotFound()) return BuiltinConstMethod.process_args(self, frame, anchor, args, kwargs)
def process_args(self, frame, anchor, args, kwargs): if kwargs or len(args) != 1: return BuiltinConstMethod.process_args(self, frame, anchor, args, kwargs) self.TypeMixer(frame, anchor, self.retobj, self.src1, args[0]) return self.retobj