[issue4570] Bad example in set tutorial

2010-08-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: Fixed in r83809 and r83810. -- resolution: -> accepted status: open -> closed ___ Python tracker ___ ___

[issue4570] Bad example in set tutorial

2010-04-23 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +mdcowles priority: -> normal stage: needs patch -> patch review ___ Python tracker ___ ___ Python-

[issue4570] Bad example in set tutorial

2010-04-06 Thread Kelda
Changes by Kelda : Removed file: http://bugs.python.org/file16790/datastructures.diff ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue4570] Bad example in set tutorial

2010-04-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'll get to this soon. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4570] Bad example in set tutorial

2010-04-06 Thread Kelda
Kelda 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 Shashwat Anand
Shashwat Anand 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'} >>> fruit = ['apple', '

[issue4570] Bad example in set tutorial

2010-04-06 Thread John Marter
John Marter 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 ___ ___

[issue4570] Bad example in set tutorial

2010-04-06 Thread Kelda
Kelda 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-01-24 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: georg.brandl -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue4570] Bad example in set tutorial

2010-01-24 Thread Florent Xicluna
Florent Xicluna 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

[issue4570] Bad example in set tutorial

2010-01-24 Thread John Marter
John Marter 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', 'banana'] >>> f

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

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

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