Skip to content

Commit 67b4f57

Browse files
[po] auto sync
1 parent 3dcebb7 commit 67b4f57

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "99.96%", "updated_at": "2025-11-28T08:18:14Z"}
1+
{"translation": "99.98%", "updated_at": "2025-11-28T15:14:17Z"}

c-api/init.po

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3989,54 +3989,59 @@ msgid ""
39893989
"interruption, it's generally expected that the caller makes a call to "
39903990
":c:func:`Py_MakePendingCalls` to propagate an exception to Python code."
39913991
msgstr ""
3992+
"如果 *intr_flag* 为 ``1``,获取锁可能会被信号中断,在这种情况下此函数将返回 "
3993+
":c:enumerator:`PY_LOCK_INTR`。 当被中断时,通常会预期调用方将执行对 "
3994+
":c:func:`Py_MakePendingCalls` 的调用以将一个异常传播给 Python 代码。"
39923995

39933996
#: ../../c-api/init.rst:2783
39943997
msgid ""
39953998
"If the lock is successfully acquired, this function returns "
39963999
":c:enumerator:`PY_LOCK_ACQUIRED`."
3997-
msgstr ""
4000+
msgstr "如果锁被成功获取,此函数将返回 :c:enumerator:`PY_LOCK_ACQUIRED`。"
39984001

39994002
#: ../../c-api/init.rst:2791
40004003
msgid "Acquire *lock*."
4001-
msgstr ""
4004+
msgstr "获取 *lock*。"
40024005

40034006
#: ../../c-api/init.rst:2793
40044007
msgid ""
40054008
"If *waitflag* is ``1`` and another thread currently holds the lock, this "
40064009
"function will wait until the lock can be acquired and will always return "
40074010
"``1``."
4008-
msgstr ""
4011+
msgstr "如果 *waitflag* 为 ``1`` 且另一个线程目前持有锁,此函数将等待直到锁可被获取并将始终返回 ``1``。"
40094012

40104013
#: ../../c-api/init.rst:2797
40114014
msgid ""
40124015
"If *waitflag* is ``0`` and another thread holds the lock, this function will"
40134016
" not wait and instead return ``0``. If the lock is not held by any other "
40144017
"thread, then this function will acquire it and return ``1``."
40154018
msgstr ""
4019+
"如果 *waitflag* 为 ``0`` 且另一个线程持有我没,此函数将不会等待而是返回 ``0``。 "
4020+
"如果锁未被另一个线程持有,则此函数将获取它并返回 ``1``。"
40164021

40174022
#: ../../c-api/init.rst:2801
40184023
msgid ""
40194024
"Unlike :c:func:`PyThread_acquire_lock_timed`, acquiring the lock cannot be "
40204025
"interrupted by a signal."
4021-
msgstr ""
4026+
msgstr "不同于 :c:func:`PyThread_acquire_lock_timed`,获取锁不会被信号中断。"
40224027

40234028
#: ../../c-api/init.rst:2809
40244029
msgid ""
40254030
"Release *lock*. If *lock* is not held, then this function issues a fatal "
40264031
"error."
4027-
msgstr ""
4032+
msgstr "释放 *lock*。 如果 *lock* 未被持有,则此函数将引发致命错误。"
40284033

40294034
#: ../../c-api/init.rst:2816
40304035
msgid "Operating System Thread APIs"
4031-
msgstr ""
4036+
msgstr "操作系统线程 API"
40324037

40334038
#: ../../c-api/init.rst:2820
40344039
msgid "Sentinel value for an invalid thread ID."
4035-
msgstr ""
4040+
msgstr "代表无效线程 ID 的哨兵值。"
40364041

40374042
#: ../../c-api/init.rst:2822
40384043
msgid "This is currently equivalent to ``(unsigned long)-1``."
4039-
msgstr ""
4044+
msgstr "该值目前等于 ``(unsigned long)-1``。"
40404045

40414046
#: ../../c-api/init.rst:2827
40424047
msgid ""

0 commit comments

Comments
 (0)