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

Commitbc1e62f

Browse files
[po] auto sync
1 parent675de9c commitbc1e62f

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

‎.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation":"81.43%","updated_at":"2025-04-23T14:55:54Z"}
1+
{"translation":"81.44%","updated_at":"2025-04-23T15:56:01Z"}

‎whatsnew/3.0.po

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,13 @@ msgid ""
458458
"have a way to override the encoding. There is no longer any need for using "
459459
"the encoding-aware streams in the :mod:`codecs` module."
460460
msgstr""
461+
"作为文本文件打开的文件(仍然是 :func:`open` 的默认模式)总是会使用一个编码格式在(内存中的)字符串和(磁盘中的)字节串之间建立映射。 "
462+
"二进制文件(将 mode 参数设为 ``b`` 来打开)在内存中总是会使用数字串。 这意味着如果一个文件是使用不正确的模式或编码格式打开的,I/O "
463+
"操作很可能会报告失败,而不是静默地产生不正确的数据。 这也意味着即使是 Unix 用户在打开文件时也必须指定正确的模式(文本或二进制)。 "
464+
"存在一个依赖于具体平台的默认编码格式,在类 Unix 平台上可以通过 ``LANG`` "
465+
"环境变量来设置(有时也会使用其他一些平台专属的语言区域相关的环境变量)。 在多数情况下,系统默认使用 "
466+
"UTF-8,但并非全都如此;你绝不应该依赖这个默认值。 任何读写超出纯 ASCII 文本范围的内容的应用程序都应该提供重写编码格式的选项。 "
467+
"现在已不再需要使用 :mod:`codecs` 模块中可感知编码格式的流。"
461468

462469
#:../../whatsnew/3.0.rst:304
463470
msgid""
@@ -590,7 +597,7 @@ msgstr ""
590597

591598
#:../../whatsnew/3.0.rst:383
592599
msgid"(a, *rest, b) = range(5)"
593-
msgstr""
600+
msgstr"(a, *rest, b) = range(5)"
594601

595602
#:../../whatsnew/3.0.rst:385
596603
msgid"This sets *a* to ``0``, *b* to ``4``, and *rest* to ``[1, 2, 3]``."
@@ -727,14 +734,16 @@ msgid ""
727734
":pep:`3113`: Tuple parameter unpacking removed. You can no longer write "
728735
"``def foo(a, (b, c)): ...``. Use ``def foo(a, b_c): b, c = b_c`` instead."
729736
msgstr""
737+
":pep:`3113`: 元组形参解包已被移除。 你不能再使用 ``def foo(a, (b, c)): ...`` 的写法。 请改用 ``def "
738+
"foo(a, b_c): b, c = b_c``。"
730739

731740
#:../../whatsnew/3.0.rst:456
732741
msgid"Removed backticks (use :func:`repr` instead)."
733-
msgstr""
742+
msgstr"移除了反引号 (请改用 :func:`repr`)。"
734743

735744
#:../../whatsnew/3.0.rst:458
736745
msgid"Removed ``<>`` (use ``!=`` instead)."
737-
msgstr""
746+
msgstr"移除了 ``<>`` (请改用 ``!=``)。"
738747

739748
#:../../whatsnew/3.0.rst:460
740749
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp