Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update Parser/action_helpers.c
Co-authored-by: Victor Stinner <[email protected]>
  • Loading branch information
maurycy and vstinner authored Oct 15, 2025
commit e5b07d69b8057aabccbfe8e8be57d3e9b67437f4
2 changes: 1 addition & 1 deletion Parser/action_helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -1634,8 +1634,8 @@ _build_concatenated_bytes(Parser *p, asdl_expr_seq *strings, int lineno,
if (writer == NULL) {
return NULL;
}

char *out = PyBytesWriter_GetData(writer);
Comment thread
maurycy marked this conversation as resolved.

for (Py_ssize_t i = 0; i < len; i++) {
expr_ty elem = asdl_seq_GET(strings, i);
Comment thread
vstinner marked this conversation as resolved.
PyObject *bytes = elem->v.Constant.value;
Expand Down
Loading