Kaydet (Commit) 9308dea3 authored tarafından Zackery Spytz's avatar Zackery Spytz Kaydeden (comit) Xiang Zhang

Fix typos in mmap() error messages (GH-6173)

üst 8f6eccdc
......@@ -1067,7 +1067,7 @@ new_mmap_object(PyTypeObject *type, PyObject *args, PyObject *kwdict)
return NULL;
if (map_size < 0) {
PyErr_SetString(PyExc_OverflowError,
"memory mapped length must be postiive");
"memory mapped length must be positive");
return NULL;
}
if (offset < 0) {
......@@ -1253,7 +1253,7 @@ new_mmap_object(PyTypeObject *type, PyObject *args, PyObject *kwdict)
if (map_size < 0) {
PyErr_SetString(PyExc_OverflowError,
"memory mapped length must be postiive");
"memory mapped length must be positive");
return NULL;
}
if (offset < 0) {
......
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