parameters: (m, format)
return_statement: return _apply_replace_backrefs(m, format, flags=FORMAT)
docstring: Expand the string using the format replace pattern or function.
docstring_summary: Expand the string using the format replace pattern or function.
docstring_tokens: Expand the string using the format replace pattern or function .
function: def expandf(m, format):  # noqa A002
      """Expand the string using the format replace pattern or function."""
  
      _assert_expandable(format, True)
      return _apply_replace_backrefs(m, format, flags=FORMAT)
function_tokens: def expandf ( m , format ) : # noqa A002 _assert_expandable ( format , True ) return _apply_replace_backrefs ( m , format , flags = FORMAT )