8000 [po] auto sync · python/python-docs-zh-cn@f47dc85 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit f47dc85

Browse files
[po] auto sync
1 parent 394c3e7 commit f47dc85

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "89.95%", "updated_at": "2024-01-23T02:20:55Z"}
1+
{"translation": "89.96%", "updated_at": "2024-01-23T03:09:17Z"}

c-api/init.po

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -868,25 +868,27 @@ msgid ""
868868
"``1`` unless the :program:`python` interpreter was started with the "
869869
":option:`-I`."
870870
msgstr ""
871+
"此函数相当于 :c:func:`PySys_SetArgvEx` 设置了 *updatepath* 为 ``1`` 除非 "
872+
":program:`python` 解释器启动时附带了 :option:`-I`。"
871873

872874
#: ../../c-api/init.rst:616
873875
msgid "The *updatepath* value depends on :option:`-I`."
874-
msgstr ""
876+
msgstr "*updatepath* 值依赖于 :option:`-I`。"
875877

876878
#: ../../c-api/init.rst:621
877879
msgid ""
878880
"Set the default \"home\" directory, that is, the location of the standard "
879881
"Python libraries. See :envvar:`PYTHONHOME` for the meaning of the argument "
880882
"string."
881-
msgstr ""
883+
msgstr "设置默认的“家”目录,也就是标准 Python 库所在的位置。 请参阅 :envvar:`PYTHONHOME` 了解该参数字符串的含义。"
882884

883885
#: ../../c-api/init.rst:625
884886
msgid ""
885887
"The argument should point to a zero-terminated character string in static "
886888
"storage whose contents will not change for the duration of the program's "
887889
"execution. No code in the Python interpreter will change the contents of "
888890
"this storage."
889-
msgstr ""
891+
msgstr "此参数应当指向静态存储中一个以零值结束的字符串,其内容在程序执行期间将保持不变。 Python 解释器中的代码绝不会修改此存储中的内容。"
890892

891893
#: ../../c-api/init.rst:636
892894
msgid ""
@@ -1354,20 +1356,20 @@ msgstr ""
13541356
msgid ""
13551357
"Return the interpreter's unique ID. If there was any error in doing so then"
13561358
" ``-1`` is returned and an error is set."
1357-
msgstr ""
1359+
msgstr "返回解释器的唯一 ID。 如果执行过程中发生任何错误则将返回 ``-1`` 并设置错误。"
13581360

13591361
#: ../../c-api/init.rst:1069
13601362
msgid ""
13611363
"Return a dictionary in which interpreter-specific data may be stored. If "
13621364
"this function returns ``NULL`` then no exception has been raised and the "
13631365
"caller should assume no interpreter-specific dict is available."
1364-
msgstr ""
1366+
msgstr "返回一个存储解释器专属数据的字典。 如果此函数返回 ``NULL`` 则没有任何异常被引发并且调用方应当将解释器专属字典视为不可用。"
13651367

13661368
#: ../../c-api/init.rst:1073
13671369
msgid ""
13681370
"This is not a replacement for :c:func:`PyModule_GetState()`, which "
13691371
"extensions should use to store interpreter-specific state information."
1370-
msgstr ""
1372+
msgstr "这不是 :c:func:`PyModule_GetState()` 的替代,扩展仍应使用它来存储解释器专属的状态信息。"
13711373

13721374
#: ../../c-api/init.rst:1081
13731375
msgid ""

0 commit comments

Comments
 (0)
0