[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


http://bugs.python.org/review/17955/diff/8120/Doc/howto/functional.rst
File Doc/howto/functional.rst (right):

http://bugs.python.org/review/17955/diff/8120/Doc/howto/functional.rst#newcode886
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).

http://bugs.python.org/review/17955/diff/8120/Doc/howto/functional.rst#newcode894
Doc/howto/functional.rst:894: *iterable* returned them.  For example, in
the examples above 1 is
I would add a comma after above.

http://bugs.python.org/review/17955/diff/8120/Doc/howto/functional.rst#newcode896
Doc/howto/functional.rst:896: :func:`itertools.permutations(iterable,
N=None) <itertools.permutations>`,
'N' is actually 'r'.

http://bugs.python.org/review/17955/


More information about the docs mailing list