[docs] Minor updates to Functional HOWTO (issue 17955)

ezio.melotti at gmail.com ezio.melotti at gmail.com
Sat May 11 20:20:12 CEST 2013

File Doc/howto/functional.rst (right):

Doc/howto/functional.rst:886: (1,), (2,), (3,), (4,), (5,)
This example doesn't seem too useful to me, maybe something like
itertools.combinations('abcd', 2) is better.
Showing how different functions behave given the same input might also
be a good idea, since it shows how the output changes (e.g. if there are
repetitions, if the order matters).

Doc/howto/functional.rst:894: *iterable* returned them.  For example, in
the examples above 1 is
I would add a comma after above.

Doc/howto/functional.rst:896: :func:`itertools.permutations(iterable,
N=None) <itertools.permutations>`,
'N' is actually 'r'.


More information about the docs mailing list