mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
[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:
parent
71d56a7231
commit
960e7b3ba1
7 changed files with 8 additions and 8 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue