1010# ppcfish <[email protected] >, 20191111# meowmeowcat <[email protected] >, 20211212# CCXXXI <[email protected] >, 202113- # Alpha Du <[email protected] >, 20211413# Freesand Leo <[email protected] >, 202114+ # Alpha Du <[email protected] >, 20211515#
1616#, fuzzy
1717msgid ""
@@ -20,7 +20,7 @@ msgstr ""
2020"Report-Msgid-Bugs-To : \n "
2121"POT-Creation-Date : 2021-01-01 05:02+0000\n "
2222"PO-Revision-Date : 2017-02-16 23:07+0000\n "
23- "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2021\n "
23+ "Last-Translator : Alpha Du <alphanow@gmail .com>, 2021\n "
2424"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2525"MIME-Version : 1.0\n "
2626"Content-Type : text/plain; charset=UTF-8\n "
@@ -1452,30 +1452,33 @@ msgid ""
14521452"you require more fine-grained control over testing, or wish to extend "
14531453"doctest's capabilities, then you should use the advanced API."
14541454msgstr ""
1455+ "基本 API 是一个简单的封装,旨在使 doctest "
1456+ "易于使用。它相当灵活,应该能满足大多数用户的需求;但是,如果你需要对测试进行更精细的控制,或者希望扩展 doctest 的功能,那么你应该使用高级 "
1457+ "API 。"
14551458
14561459#: ../../library/doctest.rst:1144
14571460msgid ""
14581461"The advanced API revolves around two container classes, which are used to "
14591462"store the interactive examples extracted from doctest cases:"
1460- msgstr ""
1463+ msgstr "高级API围绕着两个容器类,用于存储从 doctest 案例中提取的交互式用例: "
14611464
14621465#: ../../library/doctest.rst:1147
14631466msgid ""
14641467":class:`Example`: A single Python :term:`statement`, paired with its "
14651468"expected output."
1466- msgstr ""
1469+ msgstr ":class:`Example`: 一个单一的 Python :term:`statement` ,与它的预期输出配对。 "
14671470
14681471#: ../../library/doctest.rst:1150
14691472msgid ""
14701473":class:`DocTest`: A collection of :class:`Example`\\ s, typically extracted "
14711474"from a single docstring or text file."
1472- msgstr ""
1475+ msgstr ":class:`DocTest`: 一组 :class:`Example` \\ s 的集合,通常从一个文档字符串或文本文件中提取。 "
14731476
14741477#: ../../library/doctest.rst:1153
14751478msgid ""
14761479"Additional processing classes are defined to find, parse, and run, and check"
14771480" doctest examples:"
1478- msgstr ""
1481+ msgstr "定义了额外的处理类来寻找、解析和运行,并检查 doctest 的用例。 "
14791482
14801483#: ../../library/doctest.rst:1156
14811484msgid ""
0 commit comments