def conf(self, key=None, defval=None):
if key is None:<EOL><INDENT>return self._ypconf<EOL><DEDENT>val = self._ypconf.conf(key)<EOL>return defval if val is None else val<EOL>
return YunpianConf if key=None, else return value in YunpianConf