Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify whether each builtin function and method parameter is named #210

Open
brandjon opened this issue Dec 2, 2021 · 1 comment
Open

Comments

@brandjon
Copy link
Member

brandjon commented Dec 2, 2021

The spec says:

Except where noted, built-in functions accept only positional arguments.

As with built-in functions, built-in methods accept only positional arguments except where noted. The parameter names serve merely as documentation.

But it does not make clear which parameters are in fact named. For instance, x in bool(x) should almost certainly be unnamed, but base in int(..., base=8) should be named.

This issue subsumes #195.

@ndmitchell
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants