diff options
author | Victor Stinner <vstinner@python.org> | 2022-08-18 14:58:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-18 14:58:38 (GMT) |
commit | cfaa79aac088284c1eeacddc19ddebe06b55dcf7 (patch) | |
tree | f5f8fcdaa416fc3788cdb260984d96db7cc102b9 /Doc/c-api/sys.rst | |
parent | 157aef79b07e07bf115e49cdf5ff25e74c66354e (diff) | |
download | cpython-cfaa79aac088284c1eeacddc19ddebe06b55dcf7.zip cpython-cfaa79aac088284c1eeacddc19ddebe06b55dcf7.tar.gz cpython-cfaa79aac088284c1eeacddc19ddebe06b55dcf7.tar.bz2 |
gh-93103: Doc uses PyConfig rather than deprecated vars (#96070)
The C API documentation now uses the new PyConfig API, rather than
deprecated global configuration variables.
Diffstat (limited to 'Doc/c-api/sys.rst')
-rw-r--r-- | Doc/c-api/sys.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/sys.rst b/Doc/c-api/sys.rst index 32c2bc8..11d5e0e 100644 --- a/Doc/c-api/sys.rst +++ b/Doc/c-api/sys.rst @@ -167,7 +167,7 @@ Operating System Utilities .. versionchanged:: 3.8 The function now uses the UTF-8 encoding on Windows if - :c:data:`Py_LegacyWindowsFSEncodingFlag` is zero; + :c:member:`PyConfig.legacy_windows_fs_encoding` is zero; .. c:function:: char* Py_EncodeLocale(const wchar_t *text, size_t *error_pos) @@ -209,7 +209,7 @@ Operating System Utilities .. versionchanged:: 3.8 The function now uses the UTF-8 encoding on Windows if - :c:data:`Py_LegacyWindowsFSEncodingFlag` is zero. + :c:member:`PyConfig.legacy_windows_fs_encoding` is zero. .. _systemfunctions: |