@@ -398,7 +398,7 @@ msgstr "此命令可能返回非常庞大的结果,特别是当未指明 *grou
398398
399399#: ../../library/nntplib.rst:326
400400msgid "*group_pattern* was added."
401- msgstr ""
401+ msgstr "增加了 *group_pattern*。 "
402402
403403#: ../../library/nntplib.rst:332
404404msgid ""
@@ -407,19 +407,24 @@ msgid ""
407407" wildcard strings). Return a pair ``(response, descriptions)``, where "
408408"*descriptions* is a dictionary mapping group names to textual descriptions."
409409msgstr ""
410+ "发送 ``LIST NEWSGROUPS`` 命令,其中 *grouppattern* 为 :rfc:`3977` 中规定的 wildmat "
411+ "字符串(它实际上与 DOS 或 UNIX shell 通配字符串相同)。 返回一个 ``(response, descriptions)`` 对,其中 "
412+ "*descriptions* 是将新闻组名称映射到文本描述的字典。"
410413
411414#: ../../library/nntplib.rst:346
412415msgid ""
413416"Get a description for a single group *group*. If more than one group "
414417"matches (if 'group' is a real wildmat string), return the first match. If "
415418"no group matches, return an empty string."
416419msgstr ""
420+ "获取单个新闻组 *group* 的描述。 如果匹配到一个以上的新闻组(如果 'group' 是一个真实的 wildmat "
421+ "字符串),则返回第一个匹配结果。 如果未匹配到任何新闻组,则返回空字符串。"
417422
418423#: ../../library/nntplib.rst:350
419424msgid ""
420425"This elides the response code from the server. If the response code is "
421426"needed, use :meth:`descriptions`."
422- msgstr ""
427+ msgstr "此方法略去了来自服务器的响应代码。 如果需要响应代码,请使用 :meth:`descriptions`。 "
423428
424429#: ../../library/nntplib.rst:356
425430msgid ""
@@ -430,6 +435,9 @@ msgid ""
430435"*last* is the last article number in the group, and *name* is the group "
431436"name."
432437msgstr ""
438+ "发送 ``GROUP`` 命令,其中 *name* 为新闻组名称。 该新闻组如果存在,则会被选定为当前新闻组。 返回一个元组 ``(response, "
439+ "count, first, last, name)``,其中 *count* 是该新闻组中(估计的)文章数量,*first* "
440+ "是新闻组中第一篇文章的编号,*last* 是新闻组中最后一篇文章的编号,而 *name* 是新闻组名称。"
433441
434442#: ../../library/nntplib.rst:366
435443msgid ""
0 commit comments