@@ -868,25 +868,27 @@ msgid ""
868
868
"``1`` unless the :program:`python` interpreter was started with the "
869
869
":option:`-I`."
870
870
msgstr ""
871
+ "此函数相当于 :c:func:`PySys_SetArgvEx` 设置了 *updatepath* 为 ``1`` 除非 "
872
+ ":program:`python` 解释器启动时附带了 :option:`-I`。"
871
873
872
874
#: ../../c-api/init.rst:616
873
875
msgid "The *updatepath* value depends on :option:`-I`."
874
- msgstr ""
876
+ msgstr "*updatepath* 值依赖于 :option:`-I`。 "
875
877
876
878
#: ../../c-api/init.rst:621
877
879
msgid ""
878
880
"Set the default \" home\" directory, that is, the location of the standard "
879
881
"Python libraries. See :envvar:`PYTHONHOME` for the meaning of the argument "
880
882
"string."
881
- msgstr ""
883
+ msgstr "设置默认的“家”目录,也就是标准 Python 库所在的位置。 请参阅 :envvar:`PYTHONHOME` 了解该参数字符串的含义。 "
882
884
883
885
#: ../../c-api/init.rst:625
884
886
msgid ""
885
887
"The argument should point to a zero-terminated character string in static "
886
888
"storage whose contents will not change for the duration of the program's "
887
889
"execution. No code in the Python interpreter will change the contents of "
888
890
"this storage."
889
- msgstr ""
891
+ msgstr "此参数应当指向静态存储中一个以零值结束的字符串,其内容在程序执行期间将保持不变。 Python 解释器中的代码绝不会修改此存储中的内容。 "
890
892
891
893
#: ../../c-api/init.rst:636
892
894
msgid ""
@@ -1354,20 +1356,20 @@ msgstr ""
1354
1356
msgid ""
1355
1357
"Return the interpreter's unique ID. If there was any error in doing so then"
1356
1358
" ``-1`` is returned and an error is set."
1357
- msgstr ""
1359
+ msgstr "返回解释器的唯一 ID。 如果执行过程中发生任何错误则将返回 ``-1`` 并设置错误。 "
1358
1360
1359
1361
#: ../../c-api/init.rst:1069
1360
1362
msgid ""
1361
1363
"Return a dictionary in which interpreter-specific data may be stored. If "
1362
1364
"this function returns ``NULL`` then no exception has been raised and the "
1363
1365
"caller should assume no interpreter-specific dict is available."
1364
- msgstr ""
1366
+ msgstr "返回一个存储解释器专属数据的字典。 如果此函数返回 ``NULL`` 则没有任何异常被引发并且调用方应当将解释器专属字典视为不可用。 "
1365
1367
1366
1368
#: ../../c-api/init.rst:1073
1367
1369
msgid ""
1368
1370
"This is not a replacement for :c:func:`PyModule_GetState()`, which "
1369
1371
"extensions should use to store interpreter-specific state information."
1370
- msgstr ""
1372
+ msgstr "这不是 :c:func:`PyModule_GetState()` 的替代,扩展仍应使用它来存储解释器专属的状态信息。 "
1371
1373
1372
1374
#: ../../c-api/init.rst:1081
1373
1375
msgid ""
0 commit comments