Skip to content

Commit c13df3a

Browse files
encukoumiss-islington
authored andcommitted
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 68e51a1 commit c13df3a

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
@@ -911,6 +911,8 @@ system.
911911
used for ``strict``.
912912
913913
914+
.. _capi-filesystem-encoding:
915+
914916
File System Encoding
915917
""""""""""""""""""""
916918

0 commit comments

Comments
 (0)