[issue31995] Set operations documentation error

Alexander Mentis report at bugs.python.org
Thu Nov 9 14:06:10 EST 2017


New submission from Alexander Mentis <asmentis at gmail.com>:

Documentation for set/frozenset says |=, &=, -=, ^= operators do not apply to immutable instances of frozenset. This is incorrect. These operators can be used on frozenset; however, they behave differently on frozenset than on set. When used with set, they modify the target set in place. When used with frozenset, they return a new frozenset that replaces the target frozenset.

----------
assignee: docs at python
components: Documentation
messages: 305981
nosy: Alexander Mentis, docs at python
priority: normal
severity: normal
status: open
title: Set operations documentation error
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7

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


More information about the Python-bugs-list mailing list