ID EN
Built-in Types

symmetric_difference_update

Python 3.11

Update the set, keeping only elements found in either set, but not in both.

Syntax

PYTHON
symmetric_difference_update(other)