diff options
author | alandonovan <adonovan@google.com> | 2020-07-06 15:47:20 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-06 15:47:20 -0400 |
commit | f5d7f273d7f7d9548c789ad6ddcd5858261ba595 (patch) | |
tree | ec455a65e2fae2a50c112fff80b0688b8438ceb1 | |
parent | 901fe11ed3086be213543b3731949583fef4144d (diff) | |
download | starlark-go-f5d7f273d7f7d9548c789ad6ddcd5858261ba595.tar.gz |
starlark: fix typo in UnpackArgs doc comment
-rw-r--r-- | starlark/unpack.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starlark/unpack.go b/starlark/unpack.go index d8f9ec5..65ed08c 100644 --- a/starlark/unpack.go +++ b/starlark/unpack.go @@ -49,7 +49,7 @@ type Unpacker interface { // if len(args) > 0 { // return fmt.Errorf("f: unexpected positional arguments") // } -// err := UnpackArgs("f", args, kwargs, "a", &a, "b?", &b, "c?") +// err := UnpackArgs("f", args, kwargs, "a", &a, "b?", &b, "c?", &c) // // // 3. positional parameters only, like def f(a, b=42, c=None, /) in Python 3.8. // err := UnpackPositionalArgs("f", args, kwargs, 1, &a, &b, &c) |