[issue6801] symmetric_difference_update documentation fix
Georg Brandl ge...@python.org added the comment: Well, in that case I don't understand how it is different from difference_update() ? It's different from difference_update because that takes multiple arguments. The operator form shows an equivalent and therefore shows how to write an equivalent of the method with multiple arguments. suggesting that you can pipe several sets with -=, exactly like what you can do with ^=. Of course you can put multiple or'ed sets on the right of ^=, but then you can put every expression there. In other words, this whole section is unclear in what other is, and why we have others sometimes. (eg a set or a several sets piped together for example) I've fixed two other descriptions in r74603, it should be consistent now. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6801 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6801] symmetric_difference_update documentation fix
Georg Brandl ge...@python.org added the comment: Fixed in r74590. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6801 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6801] symmetric_difference_update documentation fix
R. David Murray rdmur...@bitdance.com added the comment: OK, so in r74578 Tarek added the pipe but didn't update this case, and in r74590 Georg deleted the pipe that Tarek added... -- nosy: +r.david.murray status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6801 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6801] symmetric_difference_update documentation fix
Georg Brandl ge...@python.org added the comment: Oops, that was a bit uncoordinated :) I saw the new bug report in my inbox, and decided to look at what might be wrong despite the somewhat meager description, and already saw the fixed version and fixed it again. Anyway. I think the unfixed, and now reverted, version is the better one, first because the description talks about either and both implying only two sets participating, and second because the method form also supports only one argument, indicating that the case of multiple sets or'ed together as the second operand of ^ is not a common one. -- resolution: fixed - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6801 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6801] symmetric_difference_update documentation fix
Tarek Ziadé ziade.ta...@gmail.com added the comment: Well, in that case I don't understand how it is different from difference_update() ? The doc says : set -= other | ... suggesting that you can pipe several sets with -=, exactly like what you can do with ^=. The same applies with |=. In other words, this whole section is unclear in what other is, and why we have others sometimes. (eg a set or a several sets piped together for example) -- assignee: tarek - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6801 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6801] symmetric_difference_update documentation fix
New submission from Tarek Ziadé ziade.ta...@gmail.com: the symmetric_difference_update also accepts | -- assignee: tarek components: Documentation messages: 92065 nosy: tarek severity: normal status: open title: symmetric_difference_update documentation fix ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6801 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com