Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 67a3ac9

Browse files
[po] auto sync
1 parent c0825f0 commit 67a3ac9

3 files changed

Lines changed: 24 additions & 9 deletions

File tree

c-api/contextvars.po

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,57 +83,62 @@ msgid ""
8383
"Return true if *o* is of type :c:data:`PyContext_Type`. *o* must not be "
8484
"``NULL``. This function always succeeds."
8585
msgstr ""
86+
"如果 *o* 的类型为 :c:data:`PyContext_Type` 则返回真值。 *o* 必须不为 ``NULL``。 此函数总是会成功执行。"
8687

8788
#: ../../c-api/contextvars.rst:67
8889
msgid ""
8990
"Return true if *o* is of type :c:data:`PyContextVar_Type`. *o* must not be "
9091
"``NULL``. This function always succeeds."
9192
msgstr ""
93+
"如果 *o* 的类型为 :c:data:`PyContextVar_Type` 则返回真值。 *o* 必须不为 ``NULL``。 "
94+
"此函数总是会成功执行。"
9295

9396
#: ../../c-api/contextvars.rst:72
9497
msgid ""
9598
"Return true if *o* is of type :c:data:`PyContextToken_Type`. *o* must not be"
9699
" ``NULL``. This function always succeeds."
97100
msgstr ""
101+
"如果 *o* 的类型为 :c:data:`PyContextToken_Type` 则返回真值。 *o* 必须不为 ``NULL``。 "
102+
"此函数总是会成功执行。"
98103

99104
#: ../../c-api/contextvars.rst:76
100105
msgid "Context object management functions:"
101-
msgstr ""
106+
msgstr "上下文对象管理函数:"
102107

103108
#: ../../c-api/contextvars.rst:80
104109
msgid ""
105110
"Create a new empty context object. Returns ``NULL`` if an error has "
106111
"occurred."
107-
msgstr ""
112+
msgstr "创建一个新的空上下文对象。 如果发生错误则返回 ``NULL``。"
108113

109114
#: ../../c-api/contextvars.rst:85
110115
msgid ""
111116
"Create a shallow copy of the passed *ctx* context object. Returns ``NULL`` "
112117
"if an error has occurred."
113-
msgstr ""
118+
msgstr "创建所传入的 *ctx* 上下文对象的浅拷贝。 如果发生错误则返回 ``NULL``。"
114119

115120
#: ../../c-api/contextvars.rst:90
116121
msgid ""
117122
"Create a shallow copy of the current thread context. Returns ``NULL`` if an "
118123
"error has occurred."
119-
msgstr ""
124+
msgstr "创建当前线程上下文的浅拷贝。 如果发生错误则返回 ``NULL``。"
120125

121126
#: ../../c-api/contextvars.rst:95
122127
msgid ""
123128
"Set *ctx* as the current context for the current thread. Returns ``0`` on "
124129
"success, and ``-1`` on error."
125-
msgstr ""
130+
msgstr "将 *ctx* 设为当前线程的当前上下文。 成功时返回 ``0``,出错时返回 ``-1``。"
126131

127132
#: ../../c-api/contextvars.rst:100
128133
msgid ""
129134
"Deactivate the *ctx* context and restore the previous context as the current"
130135
" context for the current thread. Returns ``0`` on success, and ``-1`` on "
131136
"error."
132-
msgstr ""
137+
msgstr "取消激活 *ctx* 上下文并将之前的上下文恢复为当前线程的当前上下文。 成功时返回 ``0``,出错时返回 ``-1``。"
133138

134139
#: ../../c-api/contextvars.rst:105
135140
msgid "Context variable functions:"
136-
msgstr ""
141+
msgstr "上下文变量函数:"
137142

138143
#: ../../c-api/contextvars.rst:109
139144
msgid ""

whatsnew/3.3.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2214,7 +2214,7 @@ msgstr ""
22142214

22152215
#: ../../whatsnew/3.3.rst:1558
22162216
msgid "nntplib"
2217-
msgstr ""
2217+
msgstr "nntplib"
22182218

22192219
#: ../../whatsnew/3.3.rst:1560
22202220
msgid ""

whatsnew/3.9.po

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,10 +773,13 @@ msgid ""
773773
":meth:`~multiprocessing.SimpleQueue.close` method to explicitly close the "
774774
"queue. (Contributed by Victor Stinner in :issue:`30966`.)"
775775
msgstr ""
776+
":class:`multiprocessing.SimpleQueue` 类新增了 "
777+
":meth:`~multiprocessing.SimpleQueue.close` 方法用来显式地关闭队列。 (由 Victor Stinner 在 "
778+
":issue:`30966` 中贡献。)"
776779

777780
#: ../../whatsnew/3.9.rst:458
778781
msgid "nntplib"
779-
msgstr ""
782+
msgstr "nntplib"
780783

781784
#: ../../whatsnew/3.9.rst:460
782785
msgid ""
@@ -785,6 +788,9 @@ msgid ""
785788
"prevent the creation of a non-blocking socket. (Contributed by Dong-hee Na "
786789
"in :issue:`39259`.)"
787790
msgstr ""
791+
"现在 :class:`~nntplib.NNTP` 和 :class:`~nntplib.NNTP_SSL` "
792+
"当它们的构造器所给定的超时参数为零以防止创建非阻塞套接字时会引发 :class:`ValueError`。 (由 Dong-hee Na 在 "
793+
":issue:`39259` 中贡献。)"
788794

789795
#: ../../whatsnew/3.9.rst:465
790796
msgid "os"
@@ -795,13 +801,17 @@ msgid ""
795801
"Added :data:`~os.CLD_KILLED` and :data:`~os.CLD_STOPPED` for "
796802
":attr:`si_code`. (Contributed by Dong-hee Na in :issue:`38493`.)"
797803
msgstr ""
804+
"增加了 :data:`~os.CLD_KILLED` 和 :data:`~os.CLD_STOPPED` 作为 :attr:`si_code`。 (由 "
805+
"Dong-hee Na 在 :issue:`38493` 中贡献。)"
798806

799807
#: ../../whatsnew/3.9.rst:470
800808
msgid ""
801809
"Exposed the Linux-specific :func:`os.pidfd_open` (:issue:`38692`) and "
802810
":data:`os.P_PIDFD` (:issue:`38713`) for process management with file "
803811
"descriptors."
804812
msgstr ""
813+
"对外公开了 Linux 专属的 :func:`os.pidfd_open` (:issue:`38692`) 和 :data:`os.P_PIDFD` "
814+
"(:issue:`38713`) 用于文件描述符的进程管理。"
805815

806816
#: ../../whatsnew/3.9.rst:474
807817
msgid ""

0 commit comments

Comments
 (0)