New submission from Alexander Mentis :
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@python
components: Documentation
messages: 305981
nosy: Alexander Mentis, docs@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
<https://bugs.python.org/issue31995>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com