@@ -2596,16 +2596,19 @@ msgid ""
2596
2596
"even sillier than it used to be, because :mod:`optparse` 1.3 added built-in "
2597
2597
"support for complex numbers, but never mind.)"
2598
2598
msgstr ""
2599
+ "下面这个很傻的例子演示了如何添加一个 ``\" complex\" `` 选项类型以便在命令行中解析 Python 风格的复数。 "
2600
+ "(现在这个例子比以前更傻了,因为 :mod:`optparse` 1.3 增加了对复数的内置支持,但是不必管它了。)"
2599
2601
2600
2602
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:1889
2601
2603
msgid "First, the necessary imports::"
2602
- msgstr ""
2604
+ msgstr "首先,必要的导入操作:: "
2603
2605
2604
2606
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:1894
2605
2607
msgid ""
2606
2608
"You need to define your type-checker first, since it's referred to later (in"
2607
2609
" the :attr:`~Option.TYPE_CHECKER` class attribute of your Option subclass)::"
2608
2610
msgstr ""
2611
+ "你必须先定义自己的类型检查器,因为以后它会被引用(在你的 Option 子类的 :attr:`~Option.TYPE_CHECKER` 类属性中)::"
2609
2612
2610
2613
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:1904
2611
2614
msgid "Finally, the Option subclass::"