pySafeArg returns an arg name that python will not barf on
(anm string, idx int)
| 89 | |
| 90 | // pySafeArg returns an arg name that python will not barf on |
| 91 | func pySafeArg(anm string, idx int) string { |
| 92 | if anm == "" { |
| 93 | anm = fmt.Sprintf("arg_%d", idx) |
| 94 | } |
| 95 | return pySafeName(anm) |
| 96 | } |
| 97 | |
| 98 | // isPyCompatVar checks if var is compatible with python |
| 99 | func isPyCompatVar(v *symbol) error { |
no test coverage detected