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

Commit1f6dbaa

Browse files
[po] auto sync
1 parent7544fe0 commit1f6dbaa

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

‎.stat.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation":"99.58%","updated_at":"2025-10-20T07:15:18Z"}
1+
{"translation":"99.58%","updated_at":"2025-10-20T08:17:20Z"}

‎whatsnew/3.14.po‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7235,7 +7235,7 @@ msgstr ""
72357235
msgid""
72367236
"The ``\\B`` pattern in regular expression now matches the empty string when "
72377237
"given as the entire pattern, which may cause behavioural changes."
7238-
msgstr""
7238+
msgstr"现在当作为整个模式给出时正则表达式中的 ``\\B`` 模式将会匹配空字符串,这可能导致行为上的变化。"
72397239

72407240
#:../../whatsnew/3.14.rst:3294
72417241
msgid""
@@ -7301,6 +7301,9 @@ msgid ""
73017301
":attr:`~annotationlib.Format.FORWARDREF` format, as the :mod:`dataclasses` "
73027302
"module now does."
73037303
msgstr""
7304+
"如果你的代码会读取对象的 :attr:`~object.__annotations__` 属性,你可能需要进行修改以支持依赖于标注的迟延求值的代码。 "
7305+
"例如,你可以使用 :func:`annotationlib.get_annotations` 并附带 "
7306+
":attr:`~annotationlib.Format.FORWARDREF` 格式,就像 :mod:`dataclasses` 模块现在所做的那样。"
73047307

73057308
#:../../whatsnew/3.14.rst:3337
73067309
msgid""
@@ -7329,6 +7332,10 @@ msgid ""
73297332
"safeguard your code against future changes, only use the documented "
73307333
"functionality of the :mod:`annotationlib` module."
73317334
msgstr""
7335+
"Python 3.14 中的改变的设计思路是对于 :attr:`!__annotations__` "
7336+
"在运行时的工作方式进行调整的同时最小化对于在源代码中包含标注的代码和读取 :attr:`!__annotations__` 的代码的破坏性影响。 "
7337+
"不过,如果你依赖于标注行为未写入文档的细节或标准库中的私有函数,那么你的代码可能出于多种原因而无法在 Python 3.14 中正常工作。 "
7338+
"为保证你的代码不受未来变化的影响,请仅使用 :mod:`annotationlib` 模块已写入文档的功能。"
73327339

73337340
#:../../whatsnew/3.14.rst:3357
73347341
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp