From 87426cb151202cac37f24aae43d73f5a80b11b1b Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Fri, 9 Nov 2007 13:08:48 +0000 Subject: Fix misleading example. --- Doc/tutorial/introduction.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index e209bfc..7b663cc 100644 --- a/Doc/tutorial/introduction.rst +++ b/Doc/tutorial/introduction.rst @@ -547,8 +547,9 @@ list or clear it entirely:: The built-in function :func:`len` also applies to lists:: + >>> a = ['a', 'b', 'c', 'd'] >>> len(a) - 8 + 4 It is possible to nest lists (create lists containing other lists), for example:: -- cgit v0.12