@@ -2068,6 +2068,9 @@ msgid ""
2068
2068
"encrypted POP3 session if the POP server supports it. (Contributed by "
2069
2069
"Lorenzo Catucci in :issue:`4473`.)"
2070
2070
msgstr ""
2071
+ "在 :mod:`poplib` 中新增了两个方法: :meth:`~poplib.POP3.capa`,它将返回 POP 服务器公开的功能列表,以及 "
2072
+ ":meth:`~poplib.POP3.stls`,它将在 POP 支持的情况下将明文 POP3 会话切换为加密 POP3 会话。 (由 Lorenzo"
2073
+ " Catucci 在 :issue:`4473` 中贡献。)"
2071
2074
2072
2075
#: ../../whatsnew/3.4.rst:1257
2073
2076
msgid "pprint"
@@ -2082,6 +2085,10 @@ msgid ""
2082
2085
"many sequence elements as will fit within *width* on each (indented) line. "
2083
2086
"(Contributed by Serhiy Storchaka in :issue:`19132`.)"
2084
2087
msgstr ""
2088
+ ":mod:`pprint` 模块的 :class:`~pprint.PrettyPrinter` 类以及 :func:`~pprint.pformat`"
2089
+ " 和 :func:`~pprint.pprint` 函数新增了一个选项 *compact*,它可控制输出所使用的格式。 目前将 *compact* 设为"
2090
+ " ``True`` 表示打印序列时将在每个(缩进的)行中放入 *width* 所允许的尽可能多的元素。 (由 Serhiy Storchaka 在 "
2091
+ ":issue:`19132` 中贡献。)"
2085
2092
2086
2093
#: ../../whatsnew/3.4.rst:1266
2087
2094
msgid ""
@@ -2216,6 +2223,9 @@ msgid ""
2216
2223
"method will be called automatically at the end of the block. (Contributed "
2217
2224
"by Serhiy Storchaka in :issue:`16488`.)"
2218
2225
msgstr ""
2226
+ "现在 :class:`~select.epoll` 对象可支持上下文管理协议。 当在 :keyword:`with` "
2227
+ "语句中使用时,:meth:`~select.epoll.close` 方法将在代码块结束时被自动调用。 (由 Serhiy Storchaka 在 "
2228
+ ":issue:`16488` 中贡献。)"
2219
2229
2220
2230
#: ../../whatsnew/3.4.rst:1345
2221
2231
msgid ""
@@ -2224,6 +2234,9 @@ msgid ""
2224
2234
":attr:`~select.devpoll.closed`. (Contributed by Victor Stinner in "
2225
2235
":issue:`18794`.)"
2226
2236
msgstr ""
2237
+ "现在 :class:`~select.devpoll` 对象具有 :meth:`~select.devpoll.fileno` 和 "
2238
+ ":meth:`~select.devpoll.close` 方法,以及新的属性 :attr:`~select.devpoll.closed`。 (由 "
2239
+ "Victor Stinner 在 :issue:`18794` 中贡献。)"
2227
2240
2228
2241
#: ../../whatsnew/3.4.rst:1352
2229
2242
msgid "shelve"
0 commit comments