[Python-checkins] r58921 - python/trunk/Doc/tutorial/introduction.rst
georg.brandl
python-checkins at python.org
Fri Nov 9 14:08:48 CET 2007
Author: georg.brandl
Date: Fri Nov 9 14:08:48 2007
New Revision: 58921
Modified:
python/trunk/Doc/tutorial/introduction.rst
Log:
Fix misleading example.
Modified: python/trunk/Doc/tutorial/introduction.rst
==============================================================================
--- python/trunk/Doc/tutorial/introduction.rst (original)
+++ python/trunk/Doc/tutorial/introduction.rst Fri Nov 9 14:08:48 2007
@@ -547,8 +547,9 @@
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::
More information about the Python-checkins
mailing list