Skip to content

Commit

Permalink
Fix typo (GH-21820)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisyeh96 committed Aug 11, 2020
1 parent b5f87b9 commit 0dfee33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/stdtypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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'``
Expand Down

0 comments on commit 0dfee33

Please sign in to comment.