Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

PyModule_SetDocString documentation doesn't describe the return value or success or failure conditions #144257

Open
Labels
@ngoldbaum

Description

@ngoldbaum

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

No one assigned

    Labels

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2026 Movatter.jp