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

Skip to content

Commit 4c1e43d

Browse files
[po] auto sync
1 parent 7e2c841 commit 4c1e43d

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

whatsnew/3.9.po

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1167,6 +1167,9 @@ msgid ""
11671167
"versions it will raise a :exc:`TypeError` for all floats. (Contributed by "
11681168
"Serhiy Storchaka in :issue:`37315`.)"
11691169
msgstr ""
1170+
"目前 :func:`math.factorial` 接受具有非负整数值的 :class:`float` 实例 (如 ``5.0``)。 "
1171+
"对于非整数和负浮点数它会引发 :exc:`ValueError`。 此行为现在已被弃用。 在未来的 Python 版本中对所有浮点数都将引发 "
1172+
":exc:`TypeError`。 (由 Serhiy Storchaka 在 :issue:`37315` 中贡献。)"
11701173

11711174
#: ../../whatsnew/3.9.rst:702
11721175
msgid ""
@@ -1175,6 +1178,8 @@ msgid ""
11751178
"can leverage the Abstract Syntax Tree (AST) generation and compilation "
11761179
"stage, using the :mod:`ast` module."
11771180
msgstr ""
1181+
":mod:`parser` 和 :mod:`symbol` 模块已被弃用并将在未来的 Python 版本中移除。 对于大多数用例,用户都可以使用 "
1182+
":mod:`ast` 模块来控制抽象语法树 (AST) 的生成和编译阶段。"
11781183

11791184
#: ../../whatsnew/3.9.rst:707
11801185
msgid ""
@@ -1183,6 +1188,8 @@ msgid ""
11831188
"implementations. It will be made a :exc:`TypeError` in a future version of "
11841189
"Python. (Contributed by Josh Rosenberg in :issue:`35712`.)"
11851190
msgstr ""
1191+
"在布尔运算中使用 :data:`NotImplemented` 已被弃用,因为它几乎必定是不正确的富比较运算符实现的结果。 它将在未来的 Python "
1192+
"版本中引发 :exc:`TypeError`。 (由 Josh Rosenberg 在 :issue:`35712` 中贡献。)"
11861193

11871194
#: ../../whatsnew/3.9.rst:713
11881195
msgid ""
@@ -1192,6 +1199,9 @@ msgid ""
11921199
"seeds to :const:`None`, :class:`int`, :class:`float`, :class:`str`, "
11931200
":class:`bytes`, and :class:`bytearray`."
11941201
msgstr ""
1202+
":mod:`random` 模块目前接受任何可哈希类型作为可能的种子值。 不幸的是,某些这样的类型并不保证具有确定性的哈希值。 在 Python 3.9"
1203+
" 之后,该模块将限定其种子值为 :const:`None`, :class:`int`, :class:`float`, :class:`str`, "
1204+
":class:`bytes` 以及 :class:`bytearray`。"
11951205

11961206
#: ../../whatsnew/3.9.rst:719
11971207
msgid ""
@@ -1201,6 +1211,9 @@ msgid ""
12011211
"for writing and silencing a warning. (Contributed by Serhiy Storchaka in "
12021212
":issue:`28286`.)"
12031213
msgstr ""
1214+
"打开 :class:`~gzip.GzipFile` 文件用于写入而不指定 *mode* 参数的特性已被弃用。 在未来的 Python "
1215+
"版本中将总是默认打开用于读取。 在打开文件用于写入时请指定 *mode* 参数以静默相关警告信息。 (由 Serhiy Storchaka 在 "
1216+
":issue:`28286` 中贡献。)"
12041217

12051218
#: ../../whatsnew/3.9.rst:725
12061219
msgid ""

0 commit comments

Comments
 (0)