Commit 7ee09361 authored by Miss Islington (bot)'s avatar Miss Islington (bot) Committed by GitHub

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

(cherry picked from commit 9308dea3)
Co-authored-by: default avatarZackery Spytz <zspytz@gmail.com>
parent 4e907d8f
......@@ -1114,7 +1114,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) {
......@@ -1300,7 +1300,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