New submission from Han <phoenix.s...@gmail.com>:

Doc/library/sets.rst said operation s.update(t)'s result is "return set s with 
elements added from t".
But update()'s return value is None.
I think change it to "set s with elements added from t" would be better.
So are operations intersection_update(), difference_update(), and 
symmetric_difference_update().

----------
assignee: docs@python
components: Documentation
messages: 337192
nosy: DeadmanWalking, docs@python
priority: normal
severity: normal
status: open
title: Misleading in library/sets document
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36198>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to