google / starlark-go

Starlark in Go: the Starlark configuration language, implemented in Go
BSD 3-Clause "New" or "Revised" License
2.3k stars 209 forks source link

clarify named parameters of int, sorted #292

Open alandonovan opened 4 years ago

alandonovan commented 4 years ago

The implementation accepts int(x="1", base=10), like Python2 but not Python3. Similarly, it accepts sorted(iterable=[]), unlike both Pythons. All other functions that accept named arguments are clearly documented.