MCPcopy Index your code
hub / github.com/python/cpython / format

Method format

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

Source from the content-addressed store, hash-verified

200 """See PEP 3101 for details and purpose of this class."""
201
202 def format(self, format_string, /, *args, **kwargs):
203 return self.vformat(format_string, args, kwargs)
204
205 def vformat(self, format_string, args, kwargs):
206 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