Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit706f2dd

Browse files
[po] auto sync
1 parent2dcc5cb commit706f2dd

File tree

2 files changed

+20
-5
lines changed

2 files changed

+20
-5
lines changed

‎.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation":"81.50%","updated_at":"2025-04-27T02:27:28Z"}
1+
{"translation":"81.51%","updated_at":"2025-04-27T06:55:41Z"}

‎whatsnew/3.0.po

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,20 +1175,24 @@ msgstr "清理了 :mod:`random` 模块:移除 :func:`!jumpahead` API。"
11751175

11761176
#:../../whatsnew/3.0.rst:651
11771177
msgid"The :mod:`!new` module is gone."
1178-
msgstr""
1178+
msgstr":mod:`!new` 模块已不复存在。"
11791179

11801180
#:../../whatsnew/3.0.rst:653
11811181
msgid""
11821182
"The functions :func:`!os.tmpnam`, :func:`!os.tempnam` and "
11831183
":func:`!os.tmpfile` have been removed in favor of the :mod:`tempfile` "
11841184
"module."
11851185
msgstr""
1186+
":func:`!os.tmpnam`, :func:`!os.tempnam` 和 :func:`!os.tmpfile` 等函数已被移除并应改用 "
1187+
":mod:`tempfile` 模块。"
11861188

11871189
#:../../whatsnew/3.0.rst:657
11881190
msgid""
11891191
"The :mod:`tokenize` module has been changed to work with bytes. The main "
11901192
"entry point is now :func:`tokenize.tokenize`, instead of generate_tokens."
11911193
msgstr""
1194+
":mod:`tokenize` 模块已被修改以适用于字节串。 主入口点现在是 :func:`tokenize.tokenize`,而不是 "
1195+
"generate_tokens。"
11921196

11931197
#:../../whatsnew/3.0.rst:661
11941198
msgid""
@@ -1198,6 +1202,9 @@ msgid ""
11981202
"friends had locale-specific behavior, which is a bad idea for such "
11991203
"attractively named global\"constants\".)"
12001204
msgstr""
1205+
":data:`!string.letters` 及其同类 (:data:`!string.lowercase` 和 "
1206+
":data:`!string.uppercase`) 已不复存在。 请改用 :data:`string.ascii_letters` 等。 (移除 "
1207+
":data:`!string.letters` 及其同类的原因在于它们具有语言区域专属的行为,对于这些被称为全局“常量”的对象来说不是好主意。)"
12011208

12021209
#:../../whatsnew/3.0.rst:668
12031210
msgid""
@@ -1206,10 +1213,13 @@ msgid ""
12061213
"most global namespaces is unchanged. To modify a builtin, you should use "
12071214
":mod:`builtins`, not :data:`!__builtins__`!"
12081215
msgstr""
1216+
"模块 :mod:`!__builtin__` 被重命名为 :mod:`builtins` (移除了下划线,添加了 's')。 大多数全局命名空间中的 "
1217+
":data:`!__builtins__` 变量保持不变。 要修改内置对象,你应当使用 :mod:`builtins`,而不是 "
1218+
":data:`!__builtins__`!"
12091219

12101220
#:../../whatsnew/3.0.rst:675
12111221
msgid":pep:`3101`: A New Approach To String Formatting"
1212-
msgstr""
1222+
msgstr":pep:`3101`: 字符串格式化的新方式"
12131223

12141224
#:../../whatsnew/3.0.rst:677
12151225
msgid""
@@ -1218,16 +1228,18 @@ msgid ""
12181228
"supported; it will be deprecated in Python 3.1 and removed from the "
12191229
"language at some later time.) Read :pep:`3101` for the full scoop."
12201230
msgstr""
1231+
"一种针对内置字符串格式化操作的新系统替代了 ``%`` 字符串格式化运算符。 (不过,``%`` 运算符仍然受到支持;它将在 Python 3.1 "
1232+
"中被弃用并在今后某一时刻从语言特性中移除。) 请参阅 :pep:`3101` 了解详情。"
12211233

12221234
#:../../whatsnew/3.0.rst:685
12231235
msgid"Changes To Exceptions"
1224-
msgstr""
1236+
msgstr"对异常的修改"
12251237

12261238
#:../../whatsnew/3.0.rst:687
12271239
msgid""
12281240
"The APIs for raising and catching exception have been cleaned up and new "
12291241
"powerful features added:"
1230-
msgstr""
1242+
msgstr"用于引发和捕获异常的 API 已经过清理并增加了强大的新特性:"
12311243

12321244
#:../../whatsnew/3.0.rst:690
12331245
msgid""
@@ -1238,6 +1250,9 @@ msgid ""
12381250
"be raised, and placed no restriction on what you can catch.) As a "
12391251
"consequence, string exceptions are finally truly and utterly dead."
12401252
msgstr""
1253+
":pep:`352`: 所有异常都必须(直接或间接地)派生自 :exc:`BaseException`。 这是异常层级结构的根对象。 "
1254+
"作为推荐方式这并不是新的变化,但 *必须* 从 :exc:`BaseException` 继承是新的变化。 (Python 2.6 "
1255+
"仍然允许引发经典类,并且不限制你能捕获的异常。) 作为此变化的结果,字符串异常终于真正彻底地死亡了。"
12411256

12421257
#:../../whatsnew/3.0.rst:698
12431258
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp