Skip to content

Unicode documentation references non-existent C function #94087

@pamelafox

Description

@pamelafox

Documentation

The C Unicode reference for PyUnicode_AsWideCharString says "Returns a buffer allocated by PyMem_Alloc()". However, a function named PyMem_Alloc does not currently exist. The function used instead is PyMem_NEW which is a macro for PyMem_New.

I'll send a PR with a fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions