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

Commit7565a55

Browse files
[po] auto sync
1 parentc8e6cbd commit7565a55

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

‎.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation":"83.08%","updated_at":"2025-04-24T15:18:33Z"}
1+
{"translation":"83.10%","updated_at":"2025-04-25T01:47:26Z"}

‎whatsnew/3.0.po

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -734,19 +734,23 @@ msgid ""
734734
"corresponding sections in :ref:`whats-new-in-2.6` should be consulted for "
735735
"longer descriptions."
736736
msgstr""
737+
"由于许多用户可能会直接从 Python 2.5 跳到 Python 3.0,因此本节提醒读者注意最初为 Python 3.0 设计但后来移植到 "
738+
"Python 2.6 的新特性。 如需更详细的说明请参阅 :ref:`whats-new-in-2.6` 中的相应章节。"
737739

738740
#:../../whatsnew/3.0.rst:488
739741
msgid""
740742
":ref:`pep-0343`. The :keyword:`with` statement is now a standard feature "
741743
"and no longer needs to be imported from the :mod:`__future__`. Also check "
742744
"out :ref:`new-26-context-managers` and :ref:`new-module-contextlib`."
743745
msgstr""
746+
":ref:`pep-0343`。 现在 :keyword:`with` 语句已是一个标准特性而不再需要从 :mod:`__future__` 导入。 "
747+
"另请参阅 :ref:`new-26-context-managers` 和 :ref:`new-module-contextlib`。"
744748

745749
#:../../whatsnew/3.0.rst:493
746750
msgid""
747751
":ref:`pep-0366`. This enhances the usefulness of the :option:`-m` option "
748752
"when the referenced module lives in a package."
749-
msgstr""
753+
msgstr":ref:`pep-0366`。 这增强了 :option:`-m` 选项在被引用的模块位于包中时的实用性。"
750754

751755
#:../../whatsnew/3.0.rst:496
752756
msgid":ref:`pep-0370`."
@@ -765,26 +769,33 @@ msgid ""
765769
"API for string formatting, and to start deprecating the ``%`` operator in "
766770
"Python 3.1."
767771
msgstr""
772+
":ref:`pep-3101`。 注意:2.6 说明文档提到 :meth:`format` 方法同时适用于 8 位和 Unicode 字符串。 在 "
773+
"3.0 中,只有 :class:`str` 类型(带有 Unicode 支持的文本字符串)才支持此方法;:class:`bytes` 类型并不支持。 "
774+
"最终的计划是使其成为仅针对字符串格式化的 API,并在 Python 3.1 中开始弃用 ``%`` 字符串运算符。"
768775

769776
#:../../whatsnew/3.0.rst:507
770777
msgid""
771778
":ref:`pep-3105`. This is now a standard feature and no longer needs to be "
772779
"imported from :mod:`__future__`. More details were given above."
773-
msgstr""
780+
msgstr":ref:`pep-3105`。 现在这已是一个标准特性而不再需要从 :mod:`__future__` 导入。 更多详情见上文。"
774781

775782
#:../../whatsnew/3.0.rst:510
776783
msgid""
777784
":ref:`pep-3110`. The :keyword:`except` *exc* :keyword:`!as` *var* syntax is"
778785
" now standard and :keyword:`!except` *exc*, *var* is no longer supported. "
779786
"(Of course, the :keyword:`!as` *var* part is still optional.)"
780787
msgstr""
788+
":ref:`pep-3110`。 现在 :keyword:`except` *exc* :keyword:`!as` *var* 语法已成为标准而 "
789+
":keyword:`!except` *exc*, *var* 不再受到支持。 (当然,:keyword:`!as` *var* 部分仍为可选项。)"
781790

782791
#:../../whatsnew/3.0.rst:515
783792
msgid""
784793
":ref:`pep-3112`. The ``b\"...\"`` string literal notation (and its variants"
785794
" like ``b'...'``, ``b\"\"\"...\"\"\"``, and ``br\"...\"``) now produces a "
786795
"literal of type :class:`bytes`."
787796
msgstr""
797+
":ref:`pep-3112`。 现在 ``b\"...\"`` 字节串字面值标记法(及其变化形式如 ``b'...'``, "
798+
"``b\"\"\"...\"\"\"`` 和 ``br\"...\"`` 等将产生 :class:`bytes` 类型的字面值。"
788799

789800
#:../../whatsnew/3.0.rst:519
790801
msgid""
@@ -833,6 +844,8 @@ msgid ""
833844
"defining Python's\"numeric tower\". Also note the new :mod:`fractions` "
834845
"module which implements :class:`numbers.Rational`."
835846
msgstr""
847+
":ref:`pep-3141`。 :mod:`numbers` 模块是 ABC 的另一个新用例,它定义了 Python 的“数字层级塔”。 另请注意新的"
848+
" :mod:`fractions` 模块,它实现了 :class:`numbers.Rational`。"
836849

837850
#:../../whatsnew/3.0.rst:551
838851
msgid"Library Changes"
@@ -1453,4 +1466,4 @@ msgstr ""
14531466
#:../../whatsnew/3.0.rst:927
14541467
msgid""
14551468
"For porting C extensions to Python 3.0, please see :ref:`cporting-howto`."
1456-
msgstr""
1469+
msgstr"有关如何将 C 扩展移植到 Python 3.0,请参阅 :ref:`cporting-howto`。"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp