Skip to content

Commit 28d971d

Browse files
committed
remove comment
1 parent 7ef0e32 commit 28d971d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Modules/_cursesmodule.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3850,8 +3850,6 @@ PyCursesWindow_in_wstr(PyObject *op, PyObject *args)
38503850
}
38513851

38523852
n = Py_MIN(n, max_buf_size - 1);
3853-
/* Zero the buffer: winnwstr() only writes the terminating null when it
3854-
stored at least one character, and the result is read up to it. */
38553853
wchar_t *buf = PyMem_Calloc(n + 1, sizeof(wchar_t));
38563854
if (buf == NULL) {
38573855
return PyErr_NoMemory();

0 commit comments

Comments
 (0)