diff options
author | alandonovan <adonovan@google.com> | 2018-03-05 14:44:10 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-05 14:44:10 -0500 |
commit | c15f32ee5e9de10bf94abd2f1f078e6a34f4ee46 (patch) | |
tree | 37e532bd4a775ba47816f778d6581d01f1e82964 | |
parent | fa00d7bbdc0bc33159b9a50f31de281bb0810a31 (diff) | |
download | starlark-go-c15f32ee5e9de10bf94abd2f1f078e6a34f4ee46.tar.gz |
eval: document that Thread.Locals are accessible to Go, not Skylark (#78)
-rw-r--r-- | eval.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -41,7 +41,8 @@ type Thread struct { // See example_test.go for some example implementations of Load. Load func(thread *Thread, module string) (StringDict, error) - // locals holds arbitrary "thread-local" values belonging to the client. + // locals holds arbitrary "thread-local" Go values belonging to the client. + // They are accessible to the client but not to any Skylark program. locals map[string]interface{} } |