diff options
author | Georg Brandl <georg@python.org> | 2007-11-09 13:08:48 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-11-09 13:08:48 (GMT) |
commit | 87426cb151202cac37f24aae43d73f5a80b11b1b (patch) | |
tree | 5e01586d262ec52681a6d2cf0039e112629db1ca | |
parent | 07c19eaa2000b8778c405a9cab5cb7603f318682 (diff) | |
download | cpython-87426cb151202cac37f24aae43d73f5a80b11b1b.zip cpython-87426cb151202cac37f24aae43d73f5a80b11b1b.tar.gz cpython-87426cb151202cac37f24aae43d73f5a80b11b1b.tar.bz2 |
Fix misleading example.
-rw-r--r-- | Doc/tutorial/introduction.rst | 3 |
1 files changed, 2 insertions, 1 deletions
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:: |