From c14bb758b2f4111ab4f095d8fe2b6981bd05b185 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Tue, 29 Apr 2008 21:00:18 +0000 Subject: [PATCH] Fix var name. --- Doc/library/functions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 52ce6c6709..4fbb5e540d 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -671,7 +671,7 @@ available. They are listed here in alphabetical order. .. function:: next(iterator[, default]) - Retrieve the next item from the *iterable* by calling its :meth:`__next__` + Retrieve the next item from the *iterator* by calling its :meth:`__next__` method. If *default* is given, it is returned if the iterator is exhausted, otherwise :exc:`StopIteration` is raised. -- 2.40.0