From cdc2b911cab8e535b6dd34ffdec06e036b63722f Mon Sep 17 00:00:00 2001 From: Laurent Le Brun Date: Thu, 24 Sep 2020 19:58:15 +0200 Subject: [PATCH] doc: add missing article (this aligns with the doc in google/starlark-go) --- spec.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.md b/spec.md index 60cd277..f615b15 100644 --- a/spec.md +++ b/spec.md @@ -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.