Skip to content

Commit 992a3bf

Browse files
[3.14] Mention PyUnicode_EncodeFSDefault in PyConfig.filesystem_encoding docs (GH-159297) (GH-159542)
Mention `PyUnicode_EncodeFSDefault` in `PyConfig.filesystem_encoding` docs (GH-159297) (cherry picked from commit 49fc7ed) Co-authored-by: Petr Viktorin <encukou@gmail.com>
1 parent 5d9a691 commit 992a3bf

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

‎Doc/c-api/init_config.rst‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1427,6 +1427,10 @@ PyConfig
14271427
14281428
See also the :c:member:`~PyConfig.filesystem_errors` member.
14291429
1430+
See also :c:func:`PyUnicode_EncodeFSDefault` and
1431+
:ref:`related functions <capi-filesystem-encoding>`
1432+
for encoding paths at runtime.
1433+
14301434
.. c:member:: wchar_t* filesystem_errors
14311435
14321436
:term:`Filesystem error handler <filesystem encoding and error handler>`:

‎Doc/c-api/unicode.rst‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -915,6 +915,8 @@ system.
915915
used for ``strict``.
916916
917917
918+
.. _capi-filesystem-encoding:
919+
918920
File System Encoding
919921
""""""""""""""""""""
920922

0 commit comments

Comments
 (0)