MCPcopy Index your code
hub / github.com/RustPython/RustPython / vformat

Method vformat

Lib/string/__init__.py:207–211  ·  view source on GitHub ↗
(self, format_string, args, kwargs)

Source from the content-addressed store, hash-verified

205 return self.vformat(format_string, args, kwargs)
206
207 def vformat(self, format_string, args, kwargs):
208 used_args = set()
209 result, _ = self._vformat(format_string, args, kwargs, used_args, 2)
210 self.check_unused_args(used_args, args, kwargs)
211 return result
212
213 def _vformat(self, format_string, args, kwargs, used_args, recursion_depth,
214 auto_arg_index=0):

Callers 1

formatMethod · 0.95

Calls 3

_vformatMethod · 0.95
check_unused_argsMethod · 0.95
setFunction · 0.85

Tested by

no test coverage detected