Skip to content

Commit

Permalink
(minor) fixed type in godoc
Browse files Browse the repository at this point in the history
  • Loading branch information
jtigger committed Aug 31, 2021
1 parent 5dee7f5 commit 6af0e3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/yttlibrary/ip.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func (av *IPAddrValue) IsIPv4(thread *starlark.Thread, f *starlark.Builtin, args
return starlark.Bool(isV4), nil
}

// IsIPv4 is a core.StarlarkFunc that reveals whether this value is an IPv6 address.
// IsIPv6 is a core.StarlarkFunc that reveals whether this value is an IPv6 address.
func (av *IPAddrValue) IsIPv6(thread *starlark.Thread, f *starlark.Builtin, args starlark.Tuple, kwargs []starlark.Tuple) (starlark.Value, error) {
if args.Len() != 0 {
return starlark.None, fmt.Errorf("expected no argument")
Expand Down

0 comments on commit 6af0e3a

Please sign in to comment.