Skip to content

Commit 07b3cff

Browse files
authored
Merge pull request mattharrison#5 from stanzheng/patch-1
typo in .intersection_update method on sets
2 parents fec69a4 + f288e4e commit 07b3cff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ Sets are useful because they provide *set operations*, such as union
665665
``s >= s2`` ``__ge__`` ``s`` in ``s2`` (see ``.issuperset``)
666666
``s > s2`` ``__gt__`` Greater. Always ``False```
667667
No hash ``__hash__`` Set to ``None`` to ensure you can't insert in dictionary
668-
``s &= s2`` ``__iand__`` Augmented (mutates ``s``) intersection (see ``.intersection_udpate``)
668+
``s &= s2`` ``__iand__`` Augmented (mutates ``s``) intersection (see ``.intersection_update``)
669669
``s |= s2`` ``__ior__`` Augmented (mutates ``s``) union (see ``.update``)
670670
``s -= s2`` ``__isub__`` Augmented (mutates ``s``) difference (see ``.difference_update``)
671671
``for thing in s:`` ``__iter__`` Iteration

0 commit comments

Comments
 (0)