Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34k
Open
Description
Documentation
Seehttps://docs.python.org/3.15/c-api/module.html#c.PyModule_SetDocString. It should say it returns -1 on failure and 0 on success. Failure can happen if creating a Python string from the C string docstring fails or if setting the__doc__ attribute on the module object fails.
Linked PRs
Metadata
Metadata
Assignees
Projects
Status
Todo