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

Commitbc6528e

Browse files
[3.11] docs: specify that PyBytes_AsStringAndSize returns 0 on success (GH-110888) (GH-111691)
(cherry picked from commit9f33ede)Co-authored-by: lefp <70862148+lefp@users.noreply.github.com>
1 parent88cc19b commitbc6528e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎Doc/c-api/bytes.rst‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ called with a non-bytes parameter.
158158
159159
Return the null-terminated contents of the object *obj*
160160
through the output variables *buffer* and *length*.
161+
Returns ``0`` on success.
161162
162163
If *length* is ``NULL``, the bytes object
163164
may not contain embedded null bytes;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp