[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-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

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