Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
42
func
(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
exception
Function · 0.85
newString
Function · 0.85
c
Method · 0.80
Tested by
no test coverage detected