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

Commitf20eef1

Browse files
[po] auto sync
1 parenta1ba3e6 commitf20eef1

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

‎.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation":"81.45%","updated_at":"2025-04-24T08:57:31Z"}
1+
{"translation":"81.46%","updated_at":"2025-04-24T15:55:54Z"}

‎whatsnew/3.0.po

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -728,6 +728,9 @@ msgid ""
728728
"inside a :func:`list` constructor, and in particular the loop control "
729729
"variables are no longer leaked into the surrounding scope."
730730
msgstr""
731+
"列表推导式不再支持 :samp:`[... for {var} in {item1}, {item2}, ...]` 这样的语法形式。 请改用 "
732+
":samp:`[... for {var} in ({item1}, {item2}, ...)]`。 还要注意列表推导式具有不同的句法:它们更像是 "
733+
":func:`list` 构造器内部用于生成器表达式的语法糖,具体来说就是循环控制变量将不会再泄漏到外层作用域中。"
731734

732735
#:../../whatsnew/3.0.rst:444
733736
msgid""
@@ -766,35 +769,40 @@ msgid ""
766769
" note that :func:`exec` no longer takes a stream argument; instead of "
767770
"``exec(f)`` you can use ``exec(f.read())``."
768771
msgstr""
772+
"移除的关键字: :func:`exec` 不再是一个关键字;它仍是一个函数。 (幸运的是该函数语法也在 2.x 中被接受。) 还要注意 "
773+
":func:`exec` 将不再接受流作为参数;你可以将原来的 ``exec(f)`` 改为使用 ``exec(f.read())``。"
769774

770775
#:../../whatsnew/3.0.rst:465
771776
msgid"Integer literals no longer support a trailing ``l`` or ``L``."
772-
msgstr""
777+
msgstr"整数字面值不再支持 ``l`` 或 ``L`` 后缀。"
773778

774779
#:../../whatsnew/3.0.rst:467
775780
msgid"String literals no longer support a leading ``u`` or ``U``."
776-
msgstr""
781+
msgstr"字符串字面值不再支持 ``u`` 或 ``U`` 前缀。"
777782

778783
#:../../whatsnew/3.0.rst:469
779784
msgid""
780785
"The :keyword:`from` *module* :keyword:`import` ``*`` syntax is only allowed "
781786
"at the module level, no longer inside functions."
782787
msgstr""
788+
":keyword:`from` *module* :keyword:`import` ``*`` 语法仅允许在模块层级使用,不再允许出现于函数内部。"
783789

784790
#:../../whatsnew/3.0.rst:472
785791
msgid""
786792
"The only acceptable syntax for relative imports is :samp:`from .[{module}] "
787793
"import {name}`. All :keyword:`import` forms not starting with ``.`` are "
788794
"interpreted as absolute imports. (:pep:`328`)"
789795
msgstr""
796+
"唯一可接受的相对导入语法为 :samp:`from .[{module}] import {name}`。 所有不以 ``.`` 开头的 "
797+
":keyword:`import` 形式都将被解读为绝对导入。 (:pep:`328`)"
790798

791799
#:../../whatsnew/3.0.rst:476
792800
msgid"Classic classes are gone."
793-
msgstr""
801+
msgstr"经典类已不复存在。"
794802

795803
#:../../whatsnew/3.0.rst:480
796804
msgid"Changes Already Present In Python 2.6"
797-
msgstr""
805+
msgstr"已存在于 Python 2.6 中的改变"
798806

799807
#:../../whatsnew/3.0.rst:482
800808
msgid""
@@ -888,7 +896,7 @@ msgstr ""
888896
msgid""
889897
":ref:`pep-3127`. As mentioned above, the new octal literal notation is the "
890898
"only one supported, and binary literals have been added."
891-
msgstr""
899+
msgstr":ref:`pep-3127`。 如上文所述,新的八进制字面值标记法是唯一受支持的形式,并增加了二进制字面值。"
892900

893901
#:../../whatsnew/3.0.rst:543
894902
msgid":ref:`pep-3129`."
@@ -936,7 +944,7 @@ msgstr ""
936944
msgid""
937945
"Some modules were renamed because their old name disobeyed :pep:`8`, or for "
938946
"various other reasons. Here's the list:"
939-
msgstr""
947+
msgstr"一些模块名称已被修改因为它们的旧名称不符合 :pep:`8`,或是出于各种其他理由。 具体列表如下:"
940948

941949
#:../../whatsnew/3.0.rst:576
942950
msgid"Old Name"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp