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

Method format

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

Source from the content-addressed store, hash-verified

202
203class Formatter:
204 def format(self, format_string, /, *args, **kwargs):
205 return self.vformat(format_string, args, kwargs)
206
207 def vformat(self, format_string, args, kwargs):
208 used_args = set()

Callers 15

test_percentMethod · 0.95
test_bracesMethod · 0.95
test_dollarsMethod · 0.95
test_timeMethod · 0.95
test_issue_89047Method · 0.95
test_basic_formatterMethod · 0.95
test_auto_numberingMethod · 0.95
test_name_lookupMethod · 0.95
test_index_lookupMethod · 0.95

Calls 1

vformatMethod · 0.95

Tested by 13

test_percentMethod · 0.76
test_bracesMethod · 0.76
test_dollarsMethod · 0.76
test_timeMethod · 0.76
test_issue_89047Method · 0.76
test_basic_formatterMethod · 0.76
test_auto_numberingMethod · 0.76
test_name_lookupMethod · 0.76
test_index_lookupMethod · 0.76