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