MCPcopy Create free account
hub / github.com/go-python/gopy / String

Method String

bind/symbols.go:67–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65)
66
67func (k symkind) String() string {
68 str := []string{}
69 for n, v := range symkinds {
70 if (k & v) != 0 {
71 str = append(str, n)
72 }
73 }
74 sort.Strings(str)
75 return strings.Join(str, "|")
76}
77
78var pyKeywords = map[string]struct{}{
79 "False": struct{}{}, "None": struct{}{}, "True": struct{}{}, "and": struct{}{}, "as": struct{}{}, "assert": struct{}{}, "break": struct{}{}, "class": struct{}{}, "continue": struct{}{}, "def": struct{}{}, "del": struct{}{}, "elif": struct{}{}, "else": struct{}{}, "except": struct{}{}, "finally": struct{}{}, "for": struct{}{}, "from": struct{}{}, "global": struct{}{}, "if": struct{}{}, "import": struct{}{}, "in": struct{}{}, "is": struct{}{}, "lambda": struct{}{}, "nonlocal": struct{}{}, "not": struct{}{}, "or": struct{}{}, "pass": struct{}{}, "raise": struct{}{}, "return": struct{}{}, "try": struct{}{}, "while": struct{}{}, "with": struct{}{}, "yield": struct{}{}, "self": struct{}{},

Callers 15

gopyMakeCmdPkgFunction · 0.45
gopyMakeCmdGenFunction · 0.45
gopyMakeCmdBuildFunction · 0.45
TestGovetFunction · 0.45
TestGofmtFunction · 0.45
gopyMakeCmdExeFunction · 0.45
getDocMethod · 0.45
addConstMethod · 0.45
isPyCompatFieldFunction · 0.45
isPyCompatFuncFunction · 0.45
addSymbolMethod · 0.45
buildTupleMethod · 0.45

Calls

no outgoing calls

Tested by 3

TestGovetFunction · 0.36
TestGofmtFunction · 0.36
TestPrinterFunction · 0.36