[3.9] Fix typos in the Objects directory (GH-28766) (GH-28795)

(cherry picked from commit 5f401f1040)

Automerge-Triggered-By: GH:JulienPalard
This commit is contained in:
Christian Clauss 2021-10-07 16:09:41 +02:00 committed by GitHub
parent 71d56a7231
commit 960e7b3ba1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 8 additions and 8 deletions

View file

@ -1410,7 +1410,7 @@ set_difference_update_internal(PySetObject *so, PyObject *other)
/* Optimization: When the other set is more than 8 times
larger than the base set, replace the other set with
interesection of the two sets.
intersection of the two sets.
*/
if ((PySet_GET_SIZE(other) >> 3) > PySet_GET_SIZE(so)) {
other = set_intersection(so, other);