New submission from Alexander Mentis <asmen...@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@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue31995>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to