summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/itertools.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst
index e6a9fe2..7baa5e1 100644
--- a/Doc/library/itertools.rst
+++ b/Doc/library/itertools.rst
@@ -459,7 +459,7 @@ loops that truncate the stream.
yield tuple(prod)
-.. function:: repeat(object, times=-1)
+.. function:: repeat(object[, times])
Make an iterator that returns *object* over and over again. Runs indefinitely
unless the *times* argument is specified. Used as argument to :func:`map` for