@noArgsFlattening
@FeatureNew('summary', '0.53.0')
@typed_pos_args('summary', (str, dict), optargs=[object])
@typed_kwargs('summary', KwargInfo('section', str, default=''), KwargInfo('bool_yn', bool, default=False), KwargInfo('list_sep', (str, NoneType), since='0.54.0'))
def func_summary(self, node: mparser.BaseNode, args: T.Tuple[(T.Union[(str, T.Dict[(str, T.Any)])], T.Optional[T.Any])], kwargs: 'kwargs.Summary') -> None:
    if (args[1] is None):
        if (not isinstance(args[0], dict)):
            raise InterpreterException('Summary first argument must be dictionary.')
        values = args[0]
    else:
        if (not isinstance(args[0], str)):
            raise InterpreterException('Summary first argument must be string.')
        values = {args[0]: args[1]}
    self.summary_impl(kwargs['section'], values, kwargs)
@noArgsFlattening
@FeatureNew('summary', '0.53.0')
@typed_pos_args('summary', (str, dict), optargs=[object])
@typed_kwargs('summary', KwargInfo('section', str, default=), KwargInfo('bool_yn', bool, default=False), KwargInfo('list_sep', (str, NoneType), since='0.54.0'))
def func_summary(self, node: mparser.BaseNode, args: T.Tuple[(T.Union[(str, T.Dict[(str, T.Any)])], T.Optional[T.Any])], kwargs: 'kwargs.Summary') -> None:
    if (args[1] is None):
        if (not isinstance(args[0], dict)):
            raise InterpreterException('Summary first argument must be dictionary.')
        values = args[0]
    else:
        if (not isinstance(args[0], str)):
            raise InterpreterException('Summary first argument must be string.')
        values = {args[0]: args[1]}
    self.summary_impl(kwargs['section'], values, kwargs)