[issue4570] Bad example in set tutorial

2010-08-07 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Fixed in r83809 and r83810. -- resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4570

[issue4570] Bad example in set tutorial

2010-04-23 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +mdcowles priority: - normal stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4570 ___

[issue4570] Bad example in set tutorial

2010-04-07 Thread Kelda
Changes by Kelda kel...@gmail.com: Removed file: http://bugs.python.org/file16790/datastructures.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4570 ___

[issue4570] Bad example in set tutorial

2010-04-06 Thread Kelda
Kelda kel...@gmail.com added the comment: Replaced unused variable assignment with a call to set() for illustrative purposes. -- keywords: +patch nosy: +autometa Added file: http://bugs.python.org/file16790/datastructures.diff ___ Python tracker

[issue4570] Bad example in set tutorial

2010-04-06 Thread John Marter
John Marter jmar...@gmail.com added the comment: You may want to add another space before the comment, otherwise it will be the only one not aligned with the others. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4570

[issue4570] Bad example in set tutorial

2010-04-06 Thread Shashwat Anand
Shashwat Anand anand.shash...@gmail.com added the comment: I guess giving fruit, the set of unique fruit a different name makes it more clear. Comments alignment fixed. basket = {'apple', 'orange', 'apple', 'pear', 'orange', 'banana'} print(basket) {'orange', 'bananna', 'pear', 'apple'}

[issue4570] Bad example in set tutorial

2010-04-06 Thread Kelda
Kelda kel...@gmail.com added the comment: I think this change fits well with the rest of the example without having to rework things. Spacing fixed. -- Added file: http://bugs.python.org/file16795/datastructures.diff ___ Python tracker

[issue4570] Bad example in set tutorial

2010-04-06 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: I'll get to this soon. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4570 ___

[issue4570] Bad example in set tutorial

2010-01-24 Thread John Marter
John Marter jmar...@gmail.com added the comment: I see that the spelling of banana has been fixed but what is the purpose of assigning fruit and then immediately reassigning it another value without even looking at the first assignment? fruit = ['apple', 'orange', 'apple', 'pear', 'orange',

[issue4570] Bad example in set tutorial

2010-01-24 Thread Florent Xicluna
Florent Xicluna la...@yahoo.fr added the comment: Confirmed in trunk and 3.1 -- nosy: +flox resolution: fixed - stage: - needs patch status: closed - open versions: +Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue4570] Bad example in set tutorial

2010-01-24 Thread Raymond Hettinger
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- assignee: georg.brandl - rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4570 ___

[issue4570] Bad example in set tutorial

2008-12-06 Thread John Marter
New submission from John Marter [EMAIL PROTECTED]: On http://docs.python.org/3.0/tutorial/datastructures.html#sets there is the following section in the section on sets basket = {'apple', 'orange', 'apple', 'pear', 'orange', 'banana'} print(basket) {'orange', 'bananna', 'pear', 'apple'}

[issue4570] Bad example in set tutorial

2008-12-06 Thread John Marter
John Marter [EMAIL PROTECTED] added the comment: Also, I see banana is misspelled on the first output line (line 3). ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4570 ___

[issue4570] Bad example in set tutorial

2008-12-06 Thread Raymond Hettinger
Raymond Hettinger [EMAIL PROTECTED] added the comment: Fixed r67624. -- nosy: +rhettinger resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4570 ___