summaryrefslogtreecommitdiffstats
path: root/Objects/setobject.c
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2021-10-07 14:09:41 (GMT)
committerGitHub <noreply@github.com>2021-10-07 14:09:41 (GMT)
commit960e7b3ba13b26f45775551ab6f3c062b8666b74 (patch)
treeb6f62c7f34c7abb52dc3704389e8b38087fb0545 /Objects/setobject.c
parent71d56a72313d66e73ca1b61130d2e617235c8a93 (diff)
downloadcpython-960e7b3ba13b26f45775551ab6f3c062b8666b74.zip
cpython-960e7b3ba13b26f45775551ab6f3c062b8666b74.tar.gz
cpython-960e7b3ba13b26f45775551ab6f3c062b8666b74.tar.bz2
[3.9] Fix typos in the Objects directory (GH-28766) (GH-28795)
(cherry picked from commit 5f401f10400123afa9171548c432ea3fc37c0736) Automerge-Triggered-By: GH:JulienPalard
Diffstat (limited to 'Objects/setobject.c')
-rw-r--r--Objects/setobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c
index 76b1944..4bd5777 100644
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -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);