Skip to content

Commit 49fc7ed

Browse files
authored
Mention PyUnicode_EncodeFSDefault in PyConfig.filesystem_encoding docs (GH-159297)
1 parent ddc647a commit 49fc7ed

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
@@ -1439,6 +1439,10 @@ PyConfig
14391439
14401440
See also the :c:member:`~PyConfig.filesystem_errors` member.
14411441
1442+
See also :c:func:`PyUnicode_EncodeFSDefault` and
1443+
:ref:`related functions <capi-filesystem-encoding>`
1444+
for encoding paths at runtime.
1445+
14421446
.. c:member:: wchar_t* filesystem_errors
14431447
14441448
: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
@@ -812,6 +812,8 @@ system.
812812
used for ``strict``.
813813
814814
815+
.. _capi-filesystem-encoding:
816+
815817
File System Encoding
816818
""""""""""""""""""""
817819

0 commit comments

Comments
 (0)