File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- {"translation" : " 93.95 %" , "updated_at" : " 2024-02-16T02:04:57Z " }
1+ {"translation" : " 93.96 %" , "updated_at" : " 2024-02-16T05:56:02Z " }
Original file line number Diff line number Diff line change @@ -3118,6 +3118,8 @@ msgid ""
31183118"are not defined now raises an :exc:`ImportWarning`. (Contributed by Rose "
31193119"Ames in :issue:`25791`.)"
31203120msgstr ""
3121+ "当执行相对导入时,现在当 ``__spec__`` 或 ``__package__`` 未被定义时从调用方模块回退到 ``__name__`` 和 "
3122+ "``__path__`` 会引发 :exc:`ImportWarning`。 (由 Rose Ames 在 :issue:`25791` 中贡献。)"
31213123
31223124#: ../../whatsnew/3.6.rst:1959
31233125msgid "Deprecated Python modules, functions and methods"
@@ -3156,6 +3158,8 @@ msgid ""
31563158"with the ``'r'`` mode. This behavior is now deprecated and will be removed "
31573159"in 3.8. (Contributed by Serhiy Storchaka in :issue:`21708`.)"
31583160msgstr ""
3161+ "与其他 :mod:`dbm` 实现不同,:mod:`dbm.dumb` 模块会以 ``'rw'`` 模式创建数据库并允许修改以 ``'r'`` "
3162+ "模式打开的数据库。 此行为现在已被弃用并将在 3.8 中移除。 (由 Serhiy Storchaka 在 :issue:`21708` 中贡献。)"
31593163
31603164#: ../../whatsnew/3.6.rst:1988
31613165msgid ""
You can’t perform that action at this time.
0 commit comments