Skip to content

Commit fbf6e8e

Browse files
Remove outdated comment.
1 parent 77f5515 commit fbf6e8e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_localemodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,6 @@ _locale_strxfrm_impl(PyObject *module, PyObject *str)
408408
goto exit;
409409
}
410410

411-
/* assume no change in size, first */
412411
errno = 0;
413412
n2 = wcsxfrm(NULL, s, 0);
414413
if (errno && errno != ERANGE) {
@@ -420,6 +419,7 @@ _locale_strxfrm_impl(PyObject *module, PyObject *str)
420419
PyErr_NoMemory();
421420
goto exit;
422421
}
422+
423423
errno = 0;
424424
n2 = wcsxfrm(buf, s, n2+1);
425425
if (errno) {

0 commit comments

Comments
 (0)