Message207265
From the glossary
Quote
keyword argument: an argument preceded by an identifier (e.g. name=) in a function call or passed as a value in a dictionary preceded by **. For example, 3 and 5 are both keyword arguments in the following calls to complex():
complex(real=3, imag=5)
complex(**{'real': 3, 'imag': 5})
End Quote
From itertools docs "itertools.tee(iterable, n=2) Return n independent iterators from a single iterable", so what is this if it's not a keyword argument? Surely all that's needed in this case is for the docs to read "itertools.tee(iterable[, n]) Return n independent iterators from a single iterable where n defaults to 2" |
|
Date |
User |
Action |
Args |
2014-01-04 03:56:31 | BreamoreBoy | set | recipients:
+ BreamoreBoy, rhettinger, terry.reedy, christian.heimes, py.user |
2014-01-04 03:56:31 | BreamoreBoy | set | messageid: <1388807791.9.0.799841981654.issue18310@psf.upfronthosting.co.za> |
2014-01-04 03:56:31 | BreamoreBoy | link | issue18310 messages |
2014-01-04 03:56:31 | BreamoreBoy | create | |
|