mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
Fix typos in comments (GH-9905)
This commit is contained in:
parent
f192aeb95a
commit
3bd0d620d6
3 changed files with 4 additions and 4 deletions
|
@ -504,7 +504,7 @@ move_unreachable(PyGC_Head *young, PyGC_Head *unreachable)
|
||||||
(void *)young);
|
(void *)young);
|
||||||
// relink gc_prev to prev element.
|
// relink gc_prev to prev element.
|
||||||
_PyGCHead_SET_PREV(gc, prev);
|
_PyGCHead_SET_PREV(gc, prev);
|
||||||
// gc is not COLLECTING state aftere here.
|
// gc is not COLLECTING state after here.
|
||||||
gc_clear_collecting(gc);
|
gc_clear_collecting(gc);
|
||||||
prev = gc;
|
prev = gc;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3092,7 +3092,7 @@ main_loop:
|
||||||
/* There was an exception and a True return.
|
/* There was an exception and a True return.
|
||||||
* We must manually unwind the EXCEPT_HANDLER block
|
* We must manually unwind the EXCEPT_HANDLER block
|
||||||
* which was created when the exception was caught,
|
* which was created when the exception was caught,
|
||||||
* otherwise the stack will be in an inconsisten state.
|
* otherwise the stack will be in an inconsistent state.
|
||||||
*/
|
*/
|
||||||
PyTryBlock *b = PyFrame_BlockPop(f);
|
PyTryBlock *b = PyFrame_BlockPop(f);
|
||||||
assert(b->b_type == EXCEPT_HANDLER);
|
assert(b->b_type == EXCEPT_HANDLER);
|
||||||
|
|
|
@ -49,7 +49,7 @@ struct _arena {
|
||||||
*/
|
*/
|
||||||
block *a_head;
|
block *a_head;
|
||||||
|
|
||||||
/* Pointer to the block currently used for allocation. It's
|
/* Pointer to the block currently used for allocation. Its
|
||||||
ab_next field should be NULL. If it is not-null after a
|
ab_next field should be NULL. If it is not-null after a
|
||||||
call to block_alloc(), it means a new block has been allocated
|
call to block_alloc(), it means a new block has been allocated
|
||||||
and a_cur should be reset to point it.
|
and a_cur should be reset to point it.
|
||||||
|
@ -57,7 +57,7 @@ struct _arena {
|
||||||
block *a_cur;
|
block *a_cur;
|
||||||
|
|
||||||
/* A Python list object containing references to all the PyObject
|
/* A Python list object containing references to all the PyObject
|
||||||
pointers associated with this area. They will be DECREFed
|
pointers associated with this arena. They will be DECREFed
|
||||||
when the arena is freed.
|
when the arena is freed.
|
||||||
*/
|
*/
|
||||||
PyObject *a_objects;
|
PyObject *a_objects;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue