We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d3d957 commit 4403936Copy full SHA for 4403936
Objects/unicodeobject.c
@@ -14446,6 +14446,7 @@ _PyUnicode_Dedent(PyObject *unicode)
14446
14447
/* copy [new_line_start + whitespace_len, iter) to buffer, then
14448
conditionally append '\n' */
14449
+
14450
Py_ssize_t new_line_len = iter - line_start - whitespace_len;
14451
assert(new_line_len >= 0);
14452
memcpy(dest_iter, line_start + whitespace_len, new_line_len);
0 commit comments