MCPcopy Create free account
hub / github.com/pybind/pybind11 / format

Method format

include/pybind11/pytypes.h:1721–1723  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1719
1720 template <typename... Args>
1721 str format(Args &&...args) const {
1722 return attr("format")(std::forward<Args>(args)...);
1723 }
1724
1725private:
1726 /// Return string representation -- always returns a new reference, even if already a str

Callers 15

cxx_stdMethod · 0.45
auto_cpp_levelFunction · 0.45
_version.pyFile · 0.45
runMethod · 0.45
TEST_SUBMODULEFunction · 0.45
PYBIND11_MODULEFunction · 0.45
simple_dtype_fmtFunction · 0.45
packed_dtype_fmtFunction · 0.45
partial_dtype_fmtFunction · 0.45
format_ptrsFunction · 0.45
my_funcFunction · 0.45
TEST_SUBMODULEFunction · 0.45

Calls

no outgoing calls

Tested by 13

runMethod · 0.36
TEST_SUBMODULEFunction · 0.36
PYBIND11_MODULEFunction · 0.36
simple_dtype_fmtFunction · 0.36
packed_dtype_fmtFunction · 0.36
partial_dtype_fmtFunction · 0.36
my_funcFunction · 0.36
TEST_SUBMODULEFunction · 0.36
TEST_SUBMODULEFunction · 0.36
TEST_SUBMODULEFunction · 0.36
NoisyAllocMethod · 0.36
tests_build_wheelFunction · 0.36