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

Skip to content

Commit 69b1191

Browse files
[po] auto sync
1 parent ee6ae03 commit 69b1191

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "90.83%", "updated_at": "2024-02-23T06:09:39Z"}
1+
{"translation": "90.85%", "updated_at": "2024-02-23T07:09:57Z"}

whatsnew/3.5.po

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -861,24 +861,29 @@ msgid ""
861861
" :func:`importlib.util.cache_from_source` has an updated API to help with "
862862
"this change."
863863
msgstr ""
864+
":pep:`488` 取消了 ``.pyo`` 文件的概念。 这意味着 ``.pyc`` 文件将同时代表未优化和已优化的字节码。 "
865+
"为了防止经常需要重新生成字节码文件,现在 ``.pyc`` 文件可以在其名称中设置可选的 ``opt-`` 标签来表示已优化字节码。 "
866+
"该设置的附带效果是当以 :option:`-O` 和 :option:`-OO` 运行时将不会有字节码文件名冲突。 其结果是,使用 "
867+
":option:`-O` 和 :option:`-OO` 生成的字节码现在可以同时存在。 "
868+
":func:`importlib.util.cache_from_source` 专门针对此项变化更新了 API。"
864869

865870
#: ../../whatsnew/3.5.rst:676
866871
msgid ":pep:`488` -- Elimination of PYO files"
867-
msgstr ""
872+
msgstr ":pep:`488` -- 去除 PYO 文件"
868873

869874
#: ../../whatsnew/3.5.rst:677
870875
msgid "PEP written and implemented by Brett Cannon."
871876
msgstr "PEP 由 Brett Cannon 撰写并实现。"
872877

873878
#: ../../whatsnew/3.5.rst:683
874879
msgid "PEP 489: Multi-phase extension module initialization"
875-
msgstr ""
880+
msgstr "PEP 489:多阶段扩展模块初始化"
876881

877882
#: ../../whatsnew/3.5.rst:685
878883
msgid ""
879884
":pep:`489` updates extension module initialization to take advantage of the "
880885
"two step module loading mechanism introduced by :pep:`451` in Python 3.4."
881-
msgstr ""
886+
msgstr ":pep:`489` 更新了扩展模块初始化操作以便利用 Python 3.4 中通过 :pep:`451` 引入的两步模块加载机制的优势。"
882887

883888
#: ../../whatsnew/3.5.rst:688
884889
msgid ""
@@ -887,10 +892,12 @@ msgid ""
887892
"modules, including the ability to use any valid identifier as a module name,"
888893
" rather than being restricted to ASCII."
889894
msgstr ""
895+
"这一变化让选择使用新机制的扩展模块的导入语义与 Python 源代码和字节码模块的更为接近,包括可以使用任何有效标识符作为模块名称,而不是仅限于 "
896+
"ASCII。"
890897

891898
#: ../../whatsnew/3.5.rst:696
892899
msgid ":pep:`489` -- Multi-phase extension module initialization"
893-
msgstr ""
900+
msgstr ":pep:`489` -- 多阶段扩展模块初始化"
894901

895902
#: ../../whatsnew/3.5.rst:696
896903
msgid ""
@@ -913,12 +920,16 @@ msgid ""
913920
"error handlers now work with decoding and translating. (Contributed by "
914921
"Serhiy Storchaka in :issue:`19676` and :issue:`22286`.)"
915922
msgstr ""
923+
"增加了 ``\"namereplace\"`` 错误处理句柄。 ``\"backslashreplace\"`` 错误处理句柄现在可用于解码和转译。 "
924+
"(由 Serhiy Storchaka 在 :issue:`19676` 和 :issue:`22286` 中贡献。)"
916925

917926
#: ../../whatsnew/3.5.rst:709
918927
msgid ""
919928
"The :option:`-b` option now affects comparisons of :class:`bytes` with "
920929
":class:`int`. (Contributed by Serhiy Storchaka in :issue:`23681`.)"
921930
msgstr ""
931+
"现在 :option:`-b` 选项会影响 :class:`bytes` 与 :class:`int` 的比较。 (由 Serhiy Storchaka"
932+
" 在 :issue:`23681` 中贡献。)"
922933

923934
#: ../../whatsnew/3.5.rst:712
924935
msgid ""

0 commit comments

Comments
 (0)
0