diff --git a/Modules/mmapmodule.c b/Modules/mmapmodule.c index 95d42d6dc5e5ac..9afb79fe2ce052 100644 --- a/Modules/mmapmodule.c +++ b/Modules/mmapmodule.c @@ -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) {