Skip to content

Commit

Permalink
doc comments: refer to specification of Skylark, not Bazel or Python (g…
Browse files Browse the repository at this point in the history
  • Loading branch information
adonovan authored Oct 17, 2017
1 parent 25a152d commit 5ce1e42
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 82 deletions.
2 changes: 1 addition & 1 deletion eval.go
Original file line number Diff line number Diff line change
Expand Up @@ -1865,7 +1865,7 @@ func (is *intset) len() int {
return len(is.large)
}

// See https://docs.python.org/2/library/stdtypes.html#string-formatting.
// https://github.com/google/skylark/blob/master/doc/spec.md#string-interpolation
func interpolate(format string, x Value) (Value, error) {
var buf bytes.Buffer
path := make([]Value, 0, 4)
Expand Down
Loading

0 comments on commit 5ce1e42

Please sign in to comment.