Fix misleading example.

This commit is contained in:
Georg Brandl 2007-11-09 13:08:48 +00:00
parent 07c19eaa20
commit 87426cb151
1 changed files with 2 additions and 1 deletions

View File

@ -547,8 +547,9 @@ list or clear it entirely::
The built-in function :func:`len` also applies to lists:: The built-in function :func:`len` also applies to lists::
>>> a = ['a', 'b', 'c', 'd']
>>> len(a) >>> len(a)
8 4
It is possible to nest lists (create lists containing other lists), for It is possible to nest lists (create lists containing other lists), for
example:: example::