File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -887,31 +887,35 @@ msgstr "更完整一些的示例可能涉及使用多个分组:继续扩展之
887
887
888
888
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:629
889
889
msgid "that results in the following output:"
890
- msgstr ""
890
+ msgstr "这会产生以下输出: "
891
891
892
892
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:655
893
893
msgid ""
894
894
"Another interesting method, in particular when working programmatically with"
895
895
" option groups is:"
896
- msgstr ""
896
+ msgstr "另一个有趣的方法,特别适合在编程处理选项分组时使用: "
897
897
898
898
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:660
899
899
msgid ""
900
900
"Return the :class:`OptionGroup` to which the short or long option string "
901
901
"*opt_str* (e.g. ``'-o'`` or ``'--option'``) belongs. If there's no such "
902
902
":class:`OptionGroup`, return ``None``."
903
903
msgstr ""
904
+ "返回短或长选项字符串 *opt_str* (例如 ``'-o'`` 或 ``'--option'``) 所属的 "
905
+ ":class:`OptionGroup`。 如果没有对应的 :class:`OptionGroup`,则返回 ``None``。"
904
906
905
907
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:667
906
908
msgid "Printing a version string"
907
- msgstr ""
909
+ msgstr "打印版本字符串 "
908
910
909
911
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:669
910
912
msgid ""
911
913
"Similar to the brief usage string, :mod:`optparse` can also print a version "
912
914
"string for your program. You have to supply the string as the ``version`` "
913
915
"argument to OptionParser::"
914
916
msgstr ""
917
+ "与简短用法字符串类似,:mod:`optparse` 还可以打印你的程序的版本字符串。 你必须将该字符串作为 ``version`` 参数提供给 "
918
+ "OptionParser::"
915
919
916
920
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:675
917
921
msgid ""
You can’t perform that action at this time.
0 commit comments