[New-bugs-announce] [issue8511] Small mistake in tutorial web page

Matthew Cowles report at bugs.python.org
Fri Apr 23 19:03:26 CEST 2010


New submission from Matthew Cowles <mdcowles at users.sourceforge.net>:

[Originally from a post to the python-help list]

Over at:

http://docs.python.org/py3k/tutorial/datastructures.html#sets

it says:

>>> fruit = ['apple', 'orange', 'apple', 'pear', 'orange', 'banana']
>>> fruit = set(basket)               # create a set without duplicates

I suspect that the first line should begin:

>>> basket =

----------
assignee: georg.brandl
components: Documentation
messages: 104028
nosy: georg.brandl, mdcowles
severity: normal
status: open
title: Small mistake in tutorial web page
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8511>
_______________________________________


More information about the New-bugs-announce mailing list