Kaydet (Commit) d83c23b2 authored tarafından Oren Milman's avatar Oren Milman Kaydeden (comit) Brett Cannon

fix grammr in error messages in overlapped.c (GH-3095)

üst 7b40cb72
......@@ -837,7 +837,7 @@ Overlapped_WriteFile(OverlappedObject *self, PyObject *args)
#if SIZEOF_SIZE_T > SIZEOF_LONG
if (self->write_buffer.len > (Py_ssize_t)ULONG_MAX) {
PyBuffer_Release(&self->write_buffer);
PyErr_SetString(PyExc_ValueError, "buffer to large");
PyErr_SetString(PyExc_ValueError, "buffer too large");
return NULL;
}
#endif
......@@ -893,7 +893,7 @@ Overlapped_WSASend(OverlappedObject *self, PyObject *args)
#if SIZEOF_SIZE_T > SIZEOF_LONG
if (self->write_buffer.len > (Py_ssize_t)ULONG_MAX) {
PyBuffer_Release(&self->write_buffer);
PyErr_SetString(PyExc_ValueError, "buffer to large");
PyErr_SetString(PyExc_ValueError, "buffer too large");
return NULL;
}
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment