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

Appearance settings
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix PyInitConfig_GetStr() doc
  • Loading branch information
vstinner committed Sep 2, 2024
commit d2609c2b7489c4f974a65314554b25054e7b98ec
3 changes: 2 additions & 1 deletion 3 Doc/c-api/init_config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1685,7 +1685,8 @@ null-terminated UTF-8 encoded string.
*\*value* can be set to ``NULL`` if the option is an optional string and the
option is unset.

On success, the string must be released with ``free(value)``.
On success, the string must be released with ``free(value)`` if it's not
``NULL``.


.. c:function:: int PyInitConfig_GetStrList(PyInitConfig *config, const char *name, size_t *length, char ***items)
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.