This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Small mistake in tutorial web page
Type: Stage: resolved
Components: Documentation Versions: Python 3.3
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: ezio.melotti, georg.brandl, mdcowles, rhettinger
Priority: normal Keywords:

Created on 2010-04-23 17:03 by mdcowles, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg104028 - (view) Author: Matthew Cowles (mdcowles) Date: 2010-04-23 17:03
[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 =
msg104032 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2010-04-23 17:41
Duplicate of #4570.
History
Date User Action Args
2022-04-11 14:57:00adminsetgithub: 52757
2010-04-23 17:41:54ezio.melottisetstatus: open -> closed

nosy: + rhettinger, ezio.melotti
messages: + msg104032

resolution: duplicate
stage: resolved
2010-04-23 17:03:24mdcowlescreate