MCPcopy Create free account
hub / github.com/goplus/py / Format

Method Format

string.go:42–48  ·  view source on GitHub ↗
(args *Tuple)

Source from the content-addressed store, hash-verified

40}
41
42func (s *String) Format(args *Tuple) (*String, error) {
43 ret := C.PyString_Format(s.c(), args.c())
44 if ret == nil {
45 return nil, exception()
46 }
47 return newString(ret), nil
48}

Callers

nothing calls this directly

Calls 3

exceptionFunction · 0.85
newStringFunction · 0.85
cMethod · 0.80

Tested by

no test coverage detected