The spec states that the parameter for enumerate is called x. Bazel accepts this parameter to be a named parameter but with the name "list", Python also accepts this to be a named parameter but with the name "iterable".
In this case, the spec is not following Bazel nor Python.
The spec states that the parameter for
enumerateis calledx. Bazel accepts this parameter to be a named parameter but with the name "list", Python also accepts this to be a named parameter but with the name "iterable".In this case, the spec is not following Bazel nor Python.