Emanuel Barry added the comment:
The documentation is correct. The first argument in both of those cases is a
str, which may not be what you were expecting, but the calls are still valid.
--
nosy: +ebarry
resolution: -> not a bug
stage: -> resolved
status: open
New submission from Stephen Wille Padnos :
Section 4.7.2 of the documentation, "Keyword Arguments", has several examples
of valid calls to the sample function parrot.
The function definition is:
def parrot(voltage, state='a stiff', action='voom', type='Norwegian Blue'):