Skip to content

Commit

Permalink
starlark: fix typo in UnpackArgs doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
adonovan authored Jul 6, 2020
1 parent 901fe11 commit f5d7f27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion starlark/unpack.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f5d7f27

Please sign in to comment.