summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Doc/library/functions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index a1f7534b43..25d09d1a81 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -1100,7 +1100,7 @@ available. They are listed here in alphabetical order.
except StopIteration:
raise TypeError('reduce() of empty sequence with no initial value')
accum_value = initializer
- for x in iterable:
+ for x in it:
accum_value = function(accum_value, x)
return accum_value