Skip to content

Commit

Permalink
doc: add missing article
Browse files Browse the repository at this point in the history
(this aligns with the doc in google/starlark-go)
  • Loading branch information
laurentlb committed Sep 24, 2020
1 parent 6c37e00 commit cdc2b91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -1045,7 +1045,7 @@ that embeds the Starlark interpreter to define additional data types
representing sequences of unknown length that implement only the `Iterable` contract.

Strings are not iterable, though they do support the `len(s)` and
`s[i]` operations. Starlark deviates from Python here to avoid common
`s[i]` operations. Starlark deviates from Python here to avoid a common
pitfall in which a string is used by mistake where a list containing a
single string was intended, resulting in its interpretation as a sequence
of bytes.
Expand Down

0 comments on commit cdc2b91

Please sign in to comment.