diff options
author | Xie Yanbo <xieyanbo@gmail.com> | 2024-06-04 10:22:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-04 10:22:22 (GMT) |
commit | 9e052619a6d32051394444c24d3185db1735a893 (patch) | |
tree | 0e978a83eadc1155de9f2435ecd6c32c1faeae99 /Python/gc.c | |
parent | 5a1205b641df133932ed4c65b9a4ff5724e89963 (diff) | |
download | cpython-9e052619a6d32051394444c24d3185db1735a893.zip cpython-9e052619a6d32051394444c24d3185db1735a893.tar.gz cpython-9e052619a6d32051394444c24d3185db1735a893.tar.bz2 |
Fix typos in documentation and comments (#119763)
Diffstat (limited to 'Python/gc.c')
-rw-r--r-- | Python/gc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/gc.c b/Python/gc.c index aa8b216..b87697e 100644 --- a/Python/gc.c +++ b/Python/gc.c @@ -1,5 +1,5 @@ // This implements the reference cycle garbage collector. -// The Python module inteface to the collector is in gcmodule.c. +// The Python module interface to the collector is in gcmodule.c. // See https://devguide.python.org/internals/garbage-collector/ #include "Python.h" @@ -1260,7 +1260,7 @@ gc_list_set_space(PyGC_Head *list, int space) * the incremental collector must progress through the old * space faster than objects are added to the old space. * - * Each young or incremental collection adds a numebr of + * Each young or incremental collection adds a number of * objects, S (for survivors) to the old space, and * incremental collectors scan I objects from the old space. * I > S must be true. We also want I > S * N to be where |