mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Fix a typo in comment
This commit is contained in:
parent
4c96035f33
commit
2401c03746
1 changed files with 2 additions and 2 deletions
|
|
@ -960,7 +960,7 @@ collect(int generation)
|
||||||
*/
|
*/
|
||||||
(void)handle_finalizers(&finalizers, old);
|
(void)handle_finalizers(&finalizers, old);
|
||||||
|
|
||||||
/* Clear free list only during the collection of the higest
|
/* Clear free list only during the collection of the highest
|
||||||
* generation */
|
* generation */
|
||||||
if (generation == NUM_GENERATIONS-1) {
|
if (generation == NUM_GENERATIONS-1) {
|
||||||
clear_freelists();
|
clear_freelists();
|
||||||
|
|
@ -981,7 +981,7 @@ collect_generations(void)
|
||||||
int i;
|
int i;
|
||||||
Py_ssize_t n = 0;
|
Py_ssize_t n = 0;
|
||||||
|
|
||||||
/* Find the oldest generation (higest numbered) where the count
|
/* Find the oldest generation (highest numbered) where the count
|
||||||
* exceeds the threshold. Objects in the that generation and
|
* exceeds the threshold. Objects in the that generation and
|
||||||
* generations younger than it will be collected. */
|
* generations younger than it will be collected. */
|
||||||
for (i = NUM_GENERATIONS-1; i >= 0; i--) {
|
for (i = NUM_GENERATIONS-1; i >= 0; i--) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue