@@ -1124,6 +1124,8 @@ msgid ""
1124
1124
":ref:`discussion <single-use-reusable-and-reentrant-cms>` of the differences"
1125
1125
" between single use, reusable and reentrant context managers."
1126
1126
msgstr ""
1127
+ ":mod:`contextlib` 文档也已获得更新以包括有关仅单用、可重用与可重入上下文管理器之间的区别的 :ref:`讨论 <single-use-"
1128
+ "reusable-and-reentrant-cms>`。"
1127
1129
1128
1130
#: ../../whatsnew/3.4.rst:704
1129
1131
msgid "dbm"
@@ -1136,6 +1138,9 @@ msgid ""
1136
1138
"object will be called automatically at the end of the block. (Contributed "
1137
1139
"by Claudiu Popa and Nick Coghlan in :issue:`19282`.)"
1138
1140
msgstr ""
1141
+ "现在 :func:`dbm.open` 对象已支持上下文管理器协议。 当在 :keyword:`with` 语句中使用时,数据库对象的 "
1142
+ "``close`` 方法将在代码块结束时被自动调用。 (由 Claudiu Popa 和 Nick Coghlan 在 :issue:`19282` "
1143
+ "中贡献。)"
1139
1144
1140
1145
#: ../../whatsnew/3.4.rst:713
1141
1146
msgid "dis"
@@ -1147,13 +1152,17 @@ msgid ""
1147
1152
":func:`~dis.disassemble` now accept a keyword-only *file* argument that "
1148
1153
"controls where they write their output."
1149
1154
msgstr ""
1155
+ "现在 :func:`~dis.show_code`, :func:`~dis.dis`, :func:`~dis.distb` 和 "
1156
+ ":func:`~dis.disassemble` 等函数可接受仅限关键字参数 *file* 来控制其输出的写入目标。"
1150
1157
1151
1158
#: ../../whatsnew/3.4.rst:719
1152
1159
msgid ""
1153
1160
"The :mod:`dis` module is now built around an :class:`~dis.Instruction` class"
1154
1161
" that provides object oriented access to the details of each individual "
1155
1162
"bytecode operation."
1156
1163
msgstr ""
1164
+ "现在 :mod:`dis` 模块是围绕 :class:`~dis.Instruction` "
1165
+ "类来构建的,该类以面向对象的访问方式提供对于每个单独字节码操作的细节。"
1157
1166
1158
1167
#: ../../whatsnew/3.4.rst:723
1159
1168
msgid ""
0 commit comments