[issue30312] Small correction in set code sample

2017-06-10 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Documentation has been updated, and backported to 3.6. Thanks :) -- resolution: -> fixed stage: backport needed -> resolved status: open -> closed ___ Python tracker

[issue30312] Small correction in set code sample

2017-06-10 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 865ed9ea67cf0d8a8dead91f3eac527553d92284 by Mariatta (KatherineMichel) in branch '3.6': bpo-30312: Small correction in datastructures set code sample (GH-2081) (GH-2085) https://github.com/python/cpython/commit/865ed9ea67cf0d8a8dead91f3eac527553

[issue30312] Small correction in set code sample

2017-06-10 Thread Katherine Michel
Changes by Katherine Michel : -- pull_requests: +2149 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue30312] Small correction in set code sample

2017-06-10 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- stage: -> backport needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue30312] Small correction in set code sample

2017-06-10 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset ca816153445cba3baec15f7e890c71abfe495340 by Mariatta (KatherineMichel) in branch 'master': bpo-30312: Small correction in datastructures set code sample (GH-2081) https://github.com/python/cpython/commit/ca816153445cba3baec15f7e890c71abfe495340

[issue30312] Small correction in set code sample

2017-06-10 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +2145 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue30312] Small correction in set code sample

2017-05-12 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- versions: -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue30312] Small correction in set code sample

2017-05-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: English 'or' remains ambiguous, and often exclusive, even without 'either'. Hence jokes like Parent: "Cake or pie?" Smart kid: "Both!" I agree with replacing 'either' with 'or both'. -- nosy: +terry.reedy ___ Py

[issue30312] Small correction in set code sample

2017-05-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: ISTM the result of the expression makes the meaning clear: >>> a | b {'r', 'l', 'b', 'c', 'z', 'd', 'a', 'm'} That said, the text might be a little clearer like this: # letters in a or b or both -- assignee: docs@python -> Mariatta nosy:

[issue30312] Small correction in set code sample

2017-05-09 Thread Oskar Weser
New submission from Oskar Weser: There is a code example about the set type found under: https://docs.python.org/3/tutorial/datastructures.html It reads as: ``` >>> basket = {'apple', 'orange', 'apple', 'pear', 'orange', 'banana'} >>> print(basket) # show that duplicates hav