summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/sys.rst
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-08-18 14:58:38 (GMT)
committerGitHub <noreply@github.com>2022-08-18 14:58:38 (GMT)
commitcfaa79aac088284c1eeacddc19ddebe06b55dcf7 (patch)
treef5f8fcdaa416fc3788cdb260984d96db7cc102b9 /Doc/c-api/sys.rst
parent157aef79b07e07bf115e49cdf5ff25e74c66354e (diff)
downloadcpython-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.rst4
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: