This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author BreamoreBoy
Recipients BreamoreBoy, christian.heimes, py.user, rhettinger, terry.reedy
Date 2014-01-04.03:56:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1388807791.9.0.799841981654.issue18310@psf.upfronthosting.co.za>
In-reply-to
Content
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"
History
Date User Action Args
2014-01-04 03:56:31BreamoreBoysetrecipients: + BreamoreBoy, rhettinger, terry.reedy, christian.heimes, py.user
2014-01-04 03:56:31BreamoreBoysetmessageid: <1388807791.9.0.799841981654.issue18310@psf.upfronthosting.co.za>
2014-01-04 03:56:31BreamoreBoylinkissue18310 messages
2014-01-04 03:56:31BreamoreBoycreate