[docs] Small mistake (maybe) in The pymalloc allocator doc.

INADA Naoki songofacandy at gmail.com
Mon Feb 27 08:25:21 EST 2017


Thanks for reporting!

I sent pull request for this.
https://github.com/python/cpython/pull/335

On Mon, Feb 27, 2017 at 12:06 AM, Alexis Lopez-Garcia
<alexis.lopezgarcia at gmail.com> wrote:
> Hello,
>
> I am not sure if this is right or not. So this email is a heads up for
> informed people to check.
>
> On
>
> https://docs.python.org/3/c-api/memory.html#the-pymalloc-allocator
>
> the line
>
> pymalloc is the default allocator of the PYMEM_DOMAIN_MEM (ex:
> PyObject_Malloc()) and PYMEM_DOMAIN_OBJ (ex: PyObject_Malloc())
> domains.
>
> Shouldn't it be:
>
> pymalloc is the default allocator of the PYMEM_DOMAIN_MEM (ex:
> PyMem_Malloc()) and PYMEM_DOMAIN_OBJ (ex: PyObject_Malloc()) domains.
>
>
> --
> Alexis Lopez Garcia
> alexis.lopezgarcia at gmail.com
> _______________________________________________
> docs mailing list
> docs at python.org
> https://mail.python.org/mailman/listinfo/docs


More information about the docs mailing list