diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 7e31b63aa45..3c7698fc0e2 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -1787,7 +1787,7 @@ The constructors for both classes work the same: Accepts multiple input iterables. .. method:: symmetric_difference_update(other) - set ^= other | ... + set ^= other Update the set, keeping only elements found in either set, but not in both.