8000 [po] auto sync · python/python-docs-zh-cn@74f58dc · GitHub
[go: up one dir, main page]

Skip to content

Commit 74f58dc

Browse files
[po] auto sync
1 parent 9334c91 commit 74f58dc

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "83.00%", "updated_at": "2025-04-18T02:41:06Z"}
1+
{"translation": "83.01%", "updated_at": "2025-04-18T15:18:32Z"}

whatsnew/3.4.po

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3980,6 +3980,9 @@ msgid ""
39803980
"the Python 3.4 series. Code that assumes that :func:`inspect.getfullargspec`"
39813981
" will fail on non-Python callables may need to be adjusted accordingly."
39823982
msgstr ""
3983+
":func:`inspect.getfullargspec` 已在 :func:`inspect.signature` "
3984+
"之上重新实现因而能够处理比之前更多种类的可调用对象。 预计在 Python 3.4 系列发布过程中将会有更多内置和扩展模块的可调用对象获得签名元数据。 "
3985+
"假定 :func:`inspect.getfullargspec` 会在非 Python 可调用对象上出错的代码可能需要做相应的调整。"
39833986

39843987
#: ../../whatsnew/3.4.rst:2337
39853988
msgid ""
@@ -4165,6 +4168,9 @@ msgid ""
41654168
"deprecated. This key should be replaced by ``EXT_SUFFIX`` or "
41664169
"``SHLIB_SUFFIX``, depending on the context (:issue:`19555`)."
41674170
msgstr ""
4171+
"附带 ``SO`` 键调用 :func:`sysconfig.get_config_var`,或者在对 "
4172+
":func:`sysconfig.get_config_vars` 的调用结果中查找 ``SO`` 的做法已被弃用。 该键应当被 "
4173+
"``EXT_SUFFIX`` 或 ``SHLIB_SUFFIX`` 替代,由具体场景决定 (:issue:`19555`)。"
41684174

41694175
#: ../../whatsnew/3.4.rst:2455
41704176
msgid ""
@@ -4175,12 +4181,16 @@ msgid ""
41754181
" stream in :mod:`~io.TextIOWrapper` to use its *newline* argument "
41764182
"(:issue:`15204`)."
41774183
msgstr ""
4184+
"任何指定了 ``U`` 的 ``open`` 函数调用都应当被修改。 ``U`` 在 Python3 将没有效果并且最终会在被使用时引发错误。 "
4185+
"对于该函数,要得到与它的旧 Python2 行为相同的效果可以使用 *newline* 参数,或者在必要时将流包装在 "
4186+
":mod:`~io.TextIOWrapper` 以使用其 *newline* 参数 (:issue:`15204`)。"
41784187

41794188
#: ../../whatsnew/3.4.rst:2462
41804189
msgid ""
41814190
"If you use ``pyvenv`` in a script and desire that pip *not* be installed, "
41824191
"you must add ``--without-pip`` to your command invocation."
41834192
msgstr ""
4193+
"如果你在脚本中使用 ``pyvenv`` 并且希望 *不要* 安装 pip,你必须在你的唤起命令中添加 ``--without-pip``。"
41844194

41854195
#: ../../whatsnew/3.4.rst:2466
41864196
msgid ""
@@ -4190,6 +4200,9 @@ msgid ""
41904200
"you have tests that are doing white-space-sensitive comparisons of such "
41914201
"output (:issue:`16333`)."
41924202
msgstr ""
4203+
":func:`json.dump` 和 :func:`json.dumps` "
4204+
"在指定了缩进值时的默认行为已被改变:它不会在行末的条目分隔逗号后面再附加空格。 此项改变仅在你使用了对这样的输出执行空格敏感比较的测试时才会有影响 "
4205+
"(:issue:`16333`)。"
41934206

41944207
#: ../../whatsnew/3.4.rst:2472
41954208
msgid ""

0 commit comments

Comments
 (0)
0