From df049e66e669b7b589dd64e30ea8606dffdf1242 Mon Sep 17 00:00:00 2001 From: Vivek Vashist Date: Wed, 15 Dec 2021 14:11:34 +1030 Subject: [PATCH] Update classes.rst Updated the output for it=iter(s) from to >>> s = 'abc' >>> it = iter(s) >>> it --- Doc/tutorial/classes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst index 0d780e3ba89643e..f44cb0b4e905a9d 100644 --- a/Doc/tutorial/classes.rst +++ b/Doc/tutorial/classes.rst @@ -797,7 +797,7 @@ using the :func:`next` built-in function; this example shows how it all works:: >>> s = 'abc' >>> it = iter(s) >>> it - + >>> next(it) 'a' >>> next(it)