Skip to content

Commit b75a5f4

Browse files
committed
Update also GetStr() doc
1 parent 2101488 commit b75a5f4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎Doc/c-api/init_config.rst‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ UTF-8 encoded string. See :ref:`Configuration Options <pyinitconfig-opts>`.
157157
158158
*\*value* can be set to ``NULL`` if the option is an optional string and the
159159
option is unset.
160+
Optional strings are documented with the type ``str | None`` in the
161+
:ref:`Configuration Options <pyinitconfig-opts>` table.
160162
161163
On success, the string must be released with ``free(value)`` if it's not
162164
``NULL``.

0 commit comments

Comments
 (0)