He ya'll,
I'm confused as to how I'm supposed to know whether a function can accept named arguments or not from the docstring. Here is an example:
from functools import reduce
?reduce
From this documentation, my instinct would be to use the function like this:
reduce(
function = lambda x, y: x+y,
sequence = [1, 2, 3, 4, 5]
)
However, we get :
How could I know this would happen from the docstring? Coming from another language, it seems like the documentation is telling me that the two arguemnts are called function and sequence.
Thanks

