[docs] Bug in `itertools.combinations` documentation (equivalent function)
psionski at gmail.com
Thu Mar 21 21:43:12 CET 2013
Hello, dear documentation maintainers!
Present in : all versions of the documentation (2.6.8 - 3.4.0)
Description : The `else: return` part is incorrectly indented on the
same level as `for`, thus appearing to be part of the `while` loop.
for i in reversed(range(r)):
if indices[i] != i + n - r:
Thank you for giving me so, so much to read! I hope I didn't misunderstand
the code - forgive me if I did.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the docs