summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Include/objimpl.h2
-rw-r--r--Objects/object.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Include/objimpl.h b/Include/objimpl.h
index 0fd813df3e..f44963c7b3 100644
--- a/Include/objimpl.h
+++ b/Include/objimpl.h
@@ -166,7 +166,7 @@ extern DL_IMPORT(void) _PyObject_Del(PyObject *);
( (type *) _PyObject_NewVar((typeobj), (n)) )
#define PyObject_Del(op) _PyObject_Del((PyObject *)(op))
-/* Macros trading binary compatibility for speed. See also mymalloc.h.
+/* Macros trading binary compatibility for speed. See also pymem.h.
Note that these macros expect non-NULL object pointers.*/
#define PyObject_INIT(op, typeobj) \
( (op)->ob_type = (typeobj), _Py_NewReference((PyObject *)(op)), (op) )
diff --git a/Objects/object.c b/Objects/object.c
index d6b7607dd8..99fea99bc6 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -1004,7 +1004,7 @@ PyTypeObject *_Py_cobject_hack = &PyCObject_Type;
int (*_Py_abstract_hack)(PyObject *) = &PyObject_Size;
-/* Python's malloc wrappers (see mymalloc.h) */
+/* Python's malloc wrappers (see pymem.h) */
void *
PyMem_Malloc(size_t nbytes)