New submission from Matthew Cowles <mdcow...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue8511>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to