@@ -134,6 +134,9 @@ Process-wide parameters
134134 change for the duration of the program's execution. No code in the Python
135135 interpreter will change the contents of this storage.
136136
137+ Use :c:func:`Py_DecodeLocale` to decode a bytes string to get a
138+ :c:type:`wchar_*` string.
139+
137140
138141.. c:function:: wchar* Py_GetProgramName()
139142
@@ -243,6 +246,9 @@ Process-wide parameters
243246 :data:`sys.exec_prefix` to be empty. It is up to the caller to modify these
244247 if required after calling :c:func:`Py_Initialize`.
245248
249+ Use :c:func:`Py_DecodeLocale` to decode a bytes string to get a
250+ :c:type:`wchar_*` string.
251+
246252
247253.. c:function:: const char* Py_GetVersion()
248254
@@ -339,6 +345,9 @@ Process-wide parameters
339345 :data:`sys.path`, which is the same as prepending the current working
340346 directory (``" ." ``).
341347
348+ Use :c:func:`Py_DecodeLocale` to decode a bytes string to get a
349+ :c:type:`wchar_*` string.
350+
342351 .. note::
343352 It is recommended that applications embedding the Python interpreter
344353 for purposes other than executing a single script pass 0 as *updatepath*,
@@ -363,6 +372,9 @@ Process-wide parameters
363372 to 1 unless the :program:`python` interpreter was started with the
364373 :option:`-I`.
365374
375+ Use :c:func:`Py_DecodeLocale` to decode a bytes string to get a
376+ :c:type:`wchar_*` string.
377+
366378 .. versionchanged:: 3.4 The *updatepath* value depends on :option:`-I`.
367379
368380
@@ -377,6 +389,9 @@ Process-wide parameters
377389 execution. No code in the Python interpreter will change the contents of
378390 this storage.
379391
392+ Use :c:func:`Py_DecodeLocale` to decode a bytes string to get a
393+ :c:type:`wchar_*` string.
394+
380395
381396.. c:function:: w_char* Py_GetPythonHome()
382397
0 commit comments