From: Christopher Yeh Date: Tue, 11 Aug 2020 22:27:08 +0000 (-0700) Subject: Fix typo (GH-21820) X-Git-Tag: v3.10.0a1~269 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0dfee33dfe6b4683016dc920ee934d3a2d7323a1;p=thirdparty%2FPython%2Fcpython.git Fix typo (GH-21820) --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 7028d240c59e..5a10faa7bbd2 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -4205,7 +4205,7 @@ The constructors for both classes work the same: Note, the non-operator versions of :meth:`union`, :meth:`intersection`, - :meth:`difference`, and :meth:`symmetric_difference`, :meth:`issubset`, and + :meth:`difference`, :meth:`symmetric_difference`, :meth:`issubset`, and :meth:`issuperset` methods will accept any iterable as an argument. In contrast, their operator based counterparts require their arguments to be sets. This precludes error-prone constructions like ``set('abc') & 'cbs'``