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

Method String

string.go:34–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32}
33
34func (s *String) String() string {
35 if s == nil {
36 return "<nil>"
37 }
38 ret := C.PyString_AsString(s.c())
39 return C.GoString(ret)
40}
41
42func (s *String) Format(args *Tuple) (*String, error) {
43 ret := C.PyString_Format(s.c(), args.c())

Callers

nothing calls this directly

Calls 1

cMethod · 0.80

Tested by

no test coverage detected