Visitar URL original
bpo-40502: Initialize n->n_col_offset by nanjekyejoannah · Pull Request #19988 · python/cpython · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Initialize ``n->n_col_offset``.
(Patch by Joannah Nanjekye)
1 change: 1 addition & 0 deletions Parser/node.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ PyNode_New(int type)
n->n_end_col_offset = -1;
n->n_nchildren = 0;
n->n_child = NULL;
n->n_col_offset = 0;
Comment thread
nanjekyejoannah marked this conversation as resolved.
Outdated
return n;
}

Expand Down