[docs] [issue36198] Misleading in library/sets document

Han report at bugs.python.org
Tue Mar 5 09:34:50 EST 2019


New submission from Han <phoenix.seek at 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 at python
components: Documentation
messages: 337192
nosy: DeadmanWalking, docs at python
priority: normal
severity: normal
status: open
title: Misleading in library/sets document
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36198>
_______________________________________


More information about the docs mailing list