Skip to content

Commit 3f99ebe

Browse files
authored
Fix the comment describing b_list (GH-28925)
b_list points to the previously allocated block, not to the next one.
1 parent 4603523 commit 3f99ebe

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Python/flowgraph.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ typedef struct _PyCfgInstruction {
4141

4242
typedef struct _PyCfgBasicblock {
4343
/* Each basicblock in a compilation unit is linked via b_list in the
44-
reverse order that the block are allocated. b_list points to the next
45-
block in this list, not to be confused with b_next, which is next by
46-
control flow. */
44+
reverse order that blocks are allocated. b_list points to the
45+
previously allocated block, not to be confused with b_next, which is
46+
next by control flow. */
4747
struct _PyCfgBasicblock *b_list;
4848
/* The label of this block if it is a jump target, -1 otherwise */
4949
_PyJumpTargetLabel b_label;

0 commit comments

Comments
 (0)