@@ -19,7 +19,7 @@ msgid ""
1919msgstr ""
2020"Project-Id-Version : Python 3.8\n "
2121"Report-Msgid-Bugs-To : \n "
22- "POT-Creation-Date : 2023-09-01 16:13 +0000\n "
22+ "POT-Creation-Date : 2023-09-08 16:17 +0000\n "
2323"PO-Revision-Date : 2020-05-30 11:49+0000\n "
2424"
Last-Translator :
Freesand Leo <[email protected] >, 2023\n "
2525"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -567,12 +567,13 @@ msgid ""
567567"If :c:func:`Py_FinalizeEx` is called, this function will need to be called "
568568"again in order to affect subsequent calls to :c:func:`Py_Initialize`."
569569msgstr ""
570+ "如果调用了 :c:func:`Py_FinalizeEx`,则需要再次调用该函数以便影响对 :c:func:`Py_Initialize` 的后续调用。"
570571
571572#: ../../c-api/init.rst:342
572573msgid ""
573574"Returns ``0`` if successful, a nonzero value on error (e.g. calling after "
574575"the interpreter has already been initialized)."
575- msgstr ""
576+ msgstr "成功时返回 ``0``,出错时返回非零值(例如在解释器已被初始化后再调用)。 "
576577
577578#: ../../c-api/init.rst:355
578579msgid ""
@@ -587,6 +588,10 @@ msgid ""
587588"execution. No code in the Python interpreter will change the contents of "
588589"this storage."
589590msgstr ""
591+ "如果要调用该函数,应当在首次调用 :c:func:`Py_Initialize` 之前调用它。 它将告诉解释器程序的 :c:func:`main` "
592+ "函数的 ``argv[0]`` 参数的值(转换为宽字符)。 :c:func:`Py_GetPath` "
593+ "和下面的某些其他函数会使用它在相对于解释器的位置上查找可执行文件的 Python 运行时库。 默认值是 ``'python'``。 "
594+ "参数应当指向静态存储中的一个以零值结束的宽字符串,其内容在程序执行期间不会发生改变。 Python 解释器中的任何代码都不会改变该存储的内容。"
590595
591596#: ../../c-api/init.rst:366 ../../c-api/init.rst:480 ../../c-api/init.rst:586
592597#: ../../c-api/init.rst:613 ../../c-api/init.rst:630
0 commit comments